{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,29]],"date-time":"2026-10-29T20:58:51Z","timestamp":1793307531097,"version":"4.5.0"},"reference-count":55,"publisher":"MDPI AG","issue":"7","license":[{"start":{"date-parts":[[2023,6,27]],"date-time":"2023-06-27T00:00:00Z","timestamp":1687824000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Louisiana Department of Transportation and Development"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["J. Imaging"],"abstract":"<jats:p>Different techniques are being applied for automated vehicle counting from video footage, which is a significant subject of interest to many researchers. In this context, the You Only Look Once (YOLO) object detection model, which has been developed recently, has emerged as a promising tool. In terms of accuracy and flexible interval counting, the adequacy of existing research on employing the model for vehicle counting from video footage is unlikely sufficient. The present study endeavors to develop computer algorithms for automated traffic counting from pre-recorded videos using the YOLO model with flexible interval counting. The study involves the development of algorithms aimed at detecting, tracking, and counting vehicles from pre-recorded videos. The YOLO model was applied in TensorFlow API with the assistance of OpenCV. The developed algorithms implement the YOLO model for counting vehicles in two-way directions in an efficient way. The accuracy of the automated counting was evaluated compared to the manual counts, and was found to be about 90 percent. The accuracy comparison also shows that the error of automated counting consistently occurs due to undercounting from unsuitable videos. In addition, a benefit\u2013cost (B\/C) analysis shows that implementing the automated counting method returns 1.76 times the investment.<\/jats:p>","DOI":"10.3390\/jimaging9070131","type":"journal-article","created":{"date-parts":[[2023,6,28]],"date-time":"2023-06-28T00:25:21Z","timestamp":1687911921000},"page":"131","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":51,"title":["Automated Vehicle Counting from Pre-Recorded Video Using You Only Look Once (YOLO) Object Detection Model"],"prefix":"10.3390","volume":"9","author":[{"given":"Mishuk","family":"Majumder","sequence":"first","affiliation":[{"name":"Department of Civil & Environmental Engineering, Louisiana State University, Baton Rouge, LA 70803, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chester","family":"Wilmot","sequence":"additional","affiliation":[{"name":"Department of Civil & Environmental Engineering, Louisiana State University, Baton Rouge, LA 70803, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2023,6,27]]},"reference":[{"key":"ref_1","first-page":"1","article-title":"Road traffic data: Collection methods and applications","volume":"1","author":"Leduc","year":"2008","journal-title":"Work. Pap. Energy Transp. Clim. Chang."},{"key":"ref_2","first-page":"1","article-title":"Investigating inductive loop signature technology for statewide vehicle classification counts","volume":"1","author":"Liao","year":"2018","journal-title":"MnDOT"},{"key":"ref_3","unstructured":"McGowen, P., and Sanderson, M. (2011, January 11\u201313). Accuracy of pneumatic road tube counters. Proceedings of the Institute of Transportation Engineers (ITE). Western District Annual Meeting, Anchorage, AK, USA."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"565","DOI":"10.1061\/(ASCE)0733-947X(2006)132:7(565)","article-title":"Application of cement-based piezoelectric sensors for monitoring traffic flows","volume":"132","author":"Li","year":"2006","journal-title":"J. Transp. Eng."},{"key":"ref_5","first-page":"3","article-title":"Traffic Flow Data Acquisition Using Magnetic-Loop Vehicle Detectors","volume":"154","author":"Stern","year":"1967","journal-title":"Highw. Res. Rec."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"127","DOI":"10.1177\/0361198105191700115","article-title":"Evaluation of microwave radar trailers for nonintrusive traffic measurements","volume":"1917","author":"Zwahlen","year":"2005","journal-title":"Transp. Res. Rec."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"226","DOI":"10.4314\/njt.v35i2.1","article-title":"Comparative analysis of mechanical and manual modes of traffic survey for traffic load determination","volume":"35","author":"Kusimo","year":"2016","journal-title":"Niger. J. Technol."},{"key":"ref_8","first-page":"2168","article-title":"Image processing techniques and its applications: An overview","volume":"4","author":"Joseph","year":"2018","journal-title":"Int. J. Adv. Res. Innov. Ideas Educ. (IJARIIE)"},{"key":"ref_9","unstructured":"Stauffer, C., and Grimson, W.E.L. (1999, January 23\u201325). 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."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"530","DOI":"10.1109\/TIP.2002.1006400","article-title":"A generic approach to simultaneous tracking and verification in video","volume":"11","author":"Li","year":"2002","journal-title":"IEEE Trans. Image Process."},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Shaikh, S.H., Saeed, K., Chaki, N., Shaikh, S.H., Saeed, K., and Chaki, N. (2014). Moving Object Detection Using Background Subtraction, Springer.","DOI":"10.1007\/978-3-319-07386-6"},{"key":"ref_12","unstructured":"Ridder, C., Munkelt, O., and Kirchner, H. (1995, January 14\u201316). Adaptive background estimation and foreground detection using kalman-filtering. Proceedings of the International Conference on recent Advances in Mechatronics, Istanbul, Turkey."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"780","DOI":"10.1109\/34.598236","article-title":"Pfinder: Real-time tracking of the human body","volume":"19","author":"Wren","year":"1997","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"key":"ref_14","unstructured":"Achmad, A. (2015, January 20\u201321). Gaussian Mixture Models optimization for counting the numbers of vehicle by adjusting the Region of Interest under heavy traffic condition. Proceedings of the 2015 International Seminar on Intelligent Technology and Its Applications (ISITIA), Surabaya, Indonesia."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Chauhan, M.S., Singh, A., Khemka, M., Prateek, A., and Sen, R. (2019, January 4\u20137). Embedded CNN based vehicle classification and counting in non-laned road traffic. Proceedings of the Tenth International Conference on Information and Communication Technologies and Development, Ahmedabad India.","DOI":"10.1145\/3287098.3287118"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"105","DOI":"10.1016\/S0304-3800(97)00103-8","article-title":"A language for modular spatio-temporal simulation","volume":"103","author":"Maxwell","year":"1997","journal-title":"Ecol. Model."},{"key":"ref_17","unstructured":"Liu, J.S., Chen, R., and Logvinenko, T. (2001). Sequential Monte Carlo Methods in Practice, Springer."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"175","DOI":"10.1109\/TITS.2006.874722","article-title":"Automatic traffic surveillance system for vehicle tracking and classification","volume":"7","author":"Hsieh","year":"2006","journal-title":"IEEE Trans. Intell. Transp. Syst."},{"key":"ref_19","unstructured":"Xie, L., Zhu, G., Wang, Y., Xu, H., and Zhang, Z. (2005, January 27\u201330). Real-time vehicles tracking based on Kalman filter in a video-based ITS. Proceedings of the 2005 International Conference on Communications, Circuits and Systems, Hong Kong, China."},{"key":"ref_20","first-page":"1","article-title":"Comparison of yolo v3, faster r-cnn, and ssd for real-time pill identification","volume":"324","author":"Tan","year":"2021","journal-title":"Res. Sq."},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Girshick, R., Donahue, J., Darrell, T., and Malik, J. (2014, January 23\u201328). Rich feature hierarchies for accurate object detection and semantic segmentation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA.","DOI":"10.1109\/CVPR.2014.81"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C.-Y., and Berg, A.C. (2016, January 11\u201314). Ssd: Single shot multibox detector. Proceedings of the Computer Vision\u2013ECCV 2016: 14th European Conference, Amsterdam, The Netherlands.","DOI":"10.1007\/978-3-319-46448-0_2"},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27\u201330). You only look once: Unified, real-time object detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.","DOI":"10.1109\/CVPR.2016.91"},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Horzyk, A., and Erg\u00fcn, E. (2020, January 19\u201324). YOLOv3 precision improvement by the weighted centers of confidence selection. Proceedings of the 2020 International Joint Conference on Neural Networks (IJCNN), Glasgow, UK.","DOI":"10.1109\/IJCNN48605.2020.9206848"},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Sarker, T., and Meng, X. (September, January 31). Traffic Signal Recognition Using End-to-End Deep Learning. Proceedings of the Tran-SET 2022, San Antonio, TX, USA.","DOI":"10.1061\/9780784484609.020"},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"102756","DOI":"10.1016\/j.dsp.2020.102756","article-title":"Faster-YOLO: An accurate and faster object detection method","volume":"102","author":"Yin","year":"2020","journal-title":"Digit. Signal Process."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"175","DOI":"10.1007\/s12544-010-0039-9","article-title":"Data accuracy on automatic traffic counting: The SMART project results","volume":"2","author":"Bellucci","year":"2010","journal-title":"Eur. Transp. Res. Rev."},{"key":"ref_28","unstructured":"Majumder, M. (2020). An Approach to Counting Vehicles from Pre-Recorded Video Using Computer Algorithms, Louisiana State University and Agricultural & Mechanical College."},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"210","DOI":"10.1016\/j.trb.2021.11.006","article-title":"Parameter and density estimation from real-world traffic data: A kinetic compartmental approach","volume":"155","author":"Pereira","year":"2022","journal-title":"Transp. Res. Part B Methodol."},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"75","DOI":"10.1049\/iet-its.2017.0047","article-title":"Real-time vehicle detection and counting in complex traffic scenes using background subtraction model with low-rank decomposition","volume":"12","author":"Yang","year":"2018","journal-title":"IET Intell. Transp. Syst."},{"key":"ref_31","unstructured":"Hjelm, S., and Gustafsson, M. (2018). Vehicle Counting Using Video Metadata, Lund University."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1155\/2021\/5551976","article-title":"Towards AI-based traffic counting system with edge computing","volume":"2021","author":"Dinh","year":"2021","journal-title":"J. Adv. Transp."},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Cubeta Caballo, A.R., and Aliac, C.J. (2022, January 14\u201316). Yolo-based tricycle counting in aid of traffic analysis. Proceedings of the 2022 4th Asia Pacific Information Technology Conference, Bangkok, Thailand.","DOI":"10.1145\/3512353.3512375"},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Dey, S., Winter, S., Tomko, M., and Ganguly, N. (2023). Traffic Count Estimation at Basis Links Without Path Flow and Historic Data. IEEE Trans. Intell. Transp. Syst., 1\u201314.","DOI":"10.1109\/TITS.2023.3279279"},{"key":"ref_35","unstructured":"Wilmot, C., Stopher, P., Antipova, A., Gudishala, R., Doulabi, S., and Majumder, M. (2021). ITE Trip Generation Modification Factors for Louisiana. No. FHWA\/LA. 17\/646, Louisiana Transportation Research Center."},{"key":"ref_36","unstructured":"Boesch, G. (2023, June 17). YOLOv7: The Most Powerful Object Detection Algorithm (2023 Guide). Available online: https:\/\/viso.ai\/deep-learning\/yolov7-guide\/#:~:text=The%20YOLO%20v7%20algorithm%20achieves,higher%20using%20a%20GPU%20V100.&text=Compared%20to%20the%20best%20performing,speed%20(509%25%20faster)."},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Wang, C.-Y., Bochkovskiy, A., and Liao, H.-Y.M. (2023, January 18\u201322). YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.","DOI":"10.1109\/CVPR52729.2023.00721"},{"key":"ref_38","unstructured":"Kundu, R. (2023, June 18). YOLO: Algorithm for Object Detection Explained [+Examples]. Available online: https:\/\/www.v7labs.com\/blog\/yolo-object-detection#:~:text=YOLO%20v7%20also%20has%20a,have%20a%20higher%20accuracy%20overall."},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Redmill, K.A., Yurtsever, E., Mishalani, R.G., Coifman, B., and McCord, M.R. (2023). Automated traffic surveillance using existing cameras on transit buses. Sensors, 23.","DOI":"10.3390\/s23115086"},{"key":"ref_40","unstructured":"Redmon, J., and Farhadi, A. (2018). Yolov3: An incremental improvement. arXiv."},{"key":"ref_41","unstructured":"Abadi, M., Barham, P., Chen, J., Chen, Z., Davis, A., Dean, J., Devin, M., Ghemawat, S., Irving, G., and Isard, M. (2016, January 2\u20134). Tensorflow: A system for large-scale machine learning. Proceedings of the Osdi, Savannah, GA, USA."},{"key":"ref_42","first-page":"120","article-title":"The openCV library","volume":"25","author":"Bradski","year":"2000","journal-title":"Dr. Dobb\u2019s J. Softw. Tools Prof. Program."},{"key":"ref_43","unstructured":"Chet Redmon, J. (2019, December 15). Darknet: Open Source Neural Networks in C. Available online: https:\/\/pjreddie.com\/."},{"key":"ref_44","unstructured":"Shangeth, R., and Mallick, S. (2019, June 18). Learn OpenCV. Available online: www.learnopencv.com\/tag\/object-detection\/."},{"key":"ref_45","unstructured":"Wizyoung (2019, July 03). Wizyoung\/YOLOv3_TensorFlow. Available online: Github.com\/wizyoung\/YOLOv3_TensorFlow?fbclid=iwar2z6rrmceqrr27j4l4tiun0uoxg2n7c3yqitlwbtyzpyzbvgeexutfnyg4."},{"key":"ref_46","doi-asserted-by":"crossref","unstructured":"Silaparasetty, N., and Silaparasetty, N. (2020). Machine Learning Concepts with Python and the Jupyter Notebook Environment: Using Tensorflow 2.0, Springer.","DOI":"10.1007\/978-1-4842-5967-2_10"},{"key":"ref_47","doi-asserted-by":"crossref","first-page":"9243","DOI":"10.1007\/s11042-022-13644-y","article-title":"Object detection using YOLO: Challenges, architectural successors, datasets and applications","volume":"82","author":"Diwan","year":"2023","journal-title":"Multimed. Tools Appl."},{"key":"ref_48","unstructured":"Karagiannakos, S. (2020, October 01). YOLO\u2014You Only Look Once (Single Shot Detectors). Available online: Theaisummer.com\/YOLO\/."},{"key":"ref_49","doi-asserted-by":"crossref","unstructured":"Bewley, A., Ge, Z., Ott, L., Ramos, F., and Upcroft, B. (2016, January 25\u201328). Simple online and realtime tracking. Proceedings of the 2016 IEEE International Conference on Image Processing (ICIP), Phoenix, AZ, USA.","DOI":"10.1109\/ICIP.2016.7533003"},{"key":"ref_50","unstructured":"(2019, October 09). NVIDIA Developer. Available online: https:\/\/developer.nvidia.com\/."},{"key":"ref_51","unstructured":"Zerbe, R.O., and Bellas, A.S. (2006). A Primer for Benefit-Cost Analysis, Edward Elgar Publishing."},{"key":"ref_52","doi-asserted-by":"crossref","unstructured":"Majumder, M., and Wilmot, C. (2023). Accuracy Assessment and Guidelines for Manual Traffic Counts from Pre-Recorded Video Data. Urban Sci., submitted.","DOI":"10.4236\/jtts.2023.134023"},{"key":"ref_53","unstructured":"Energysage (2023, June 17). Cost of Electricity in East Baton Rouge County, LA. Available online: https:\/\/shorturl.at\/npqLP."},{"key":"ref_54","doi-asserted-by":"crossref","first-page":"50","DOI":"10.1109\/MSPEC.2021.9563954","article-title":"Deep learning\u2019s diminishing returns: The cost of improvement is becoming unsustainable","volume":"58","author":"Thompson","year":"2021","journal-title":"IEEE Spectr."},{"key":"ref_55","unstructured":"Lenovo (2023, June 17). Quantifying Congestion. Available online: https:\/\/pcsupport.lenovo.com\/us\/en\/products\/laptops-and-netbooks\/legion-series\/legion-y7000p-1060."}],"container-title":["Journal of Imaging"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2313-433X\/9\/7\/131\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T20:01:56Z","timestamp":1760126516000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2313-433X\/9\/7\/131"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,6,27]]},"references-count":55,"journal-issue":{"issue":"7","published-online":{"date-parts":[[2023,7]]}},"alternative-id":["jimaging9070131"],"URL":"https:\/\/doi.org\/10.3390\/jimaging9070131","relation":{},"ISSN":["2313-433X"],"issn-type":[{"value":"2313-433X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,6,27]]}}}