Vehicle Detection, Counting, and Classification System based on Video using Deep learning Models

Authors

  • Tara Saber Ismail Department of Software Engineering and Informatics, College of Engineering, Salahaddin University- Erbil, Kurdistan Region, Iraq
  • Abbas M. Ali Department of Software Engineering and Informatics, College of Engineering, Salahaddin University- Erbil, Kurdistan Region, Iraq

DOI:

https://doi.org/10.21271/ZJPAS.36.1.3

Keywords:

Deep Learning, Yolov5, SSD, Mask R-CNN, DeepSORT, Traffic analysis

Abstract

Traffic analysis is one of the crucial tasks of intelligent transport system that utilizes deep learning for range of purposes. Many tasks, such as vehicle recognition, vehicle counting, traffic violation monitoring, vehicle speed monitoring, vehicle density and so on, can be accomplished by using cameras installed in strategic locations along roads. In this paper powerful deep learning techniques such as (Yolov5, Mask R-CNN, SSD) and state-of-the-art object tracking algorithm known as DeepSORT was used to perform real time vehicle detection and counting in a video. A new highway vehicle detection dataset with overall of 32,265, instances of four vehicle classes named: bus, car, motorbike, truck was created in this paper and utilized for training vehicle detection and counting system. Result shows that average counting accuracy by using Yolov5 combined DeepSORT reaches to 95% while reaches to 91% by using Mask R-CNN combined DeepSORT and 84% by using SSD combined DeepSORT in hard environment. From the experimental work, counting accuracy by using Yolov5 outperforms other two deep learning techniques.

References

Al-Ariny, Z., Abdelwahab, M. A., Fakhry, M. & Hasaneen, E.-S. An efficient vehicle counting method using mask r-cnn. 2020 International Conference on Innovative Trends in Communication and Computer Engineering (ITCE), 2020. IEEE, 232-237.

Ambata, L. U., Del Castillo, I. a. P., Jacinto, J. R. H. & Santos, C. M. T. Public and private vehicle quantification and classification using vehicle detection and recognition. 2019 IEEE 11th International Conference on Humanoid, Nanotechnology, Information Technology, Communication and Control, Environment, and Management (HNICEM), 2019. IEEE, 1-6.

Azimjonov, J. & Özmen, A. J. a. E. I. 2021. A real-time vehicle detection and a novel vehicle tracking systems for estimating and monitoring traffic flow on highways. 50, 101393.

Bautista, C. M., Dy, C. A., Mañalac, M. I., Orbe, R. A. & Cordel, M. Convolutional neural network for vehicle detection in low resolution traffic videos. 2016 IEEE Region 10 Symposium (TENSYMP), 2016. IEEE, 277-281.

Bhaskar, P. K. & Yong, S.-P. Image processing based vehicle detection and tracking method. 2014 International Conference on Computer and Information Sciences (ICCOINS), 2014. IEEE, 1-5.

Cepni, S., Atik, M. E. & Duran, Z. J. B. J. O. M. C. 2020. Vehicle detection using different deep learning algorithms from image sequence. 8, 347-358.

Chauhan, N. K. & Singh, K. A review on conventional machine learning vs deep learning. 2018 International conference on computing, power and communication technologies (GUCON), 2018. IEEE, 347-352.

Chen, L., Zhang, Z. & Peng, L. J. I. I. T. S. 2018. Fast single shot multibox detector and its application on vehicle counting system. 12, 1406-1413.

Fachrie, M. J. J. R. 2020. A simple vehicle counting system using deep learning with YOLOv3 model. 4, 462-468.

Fattal, A.-K., Karg, M., Scharfenberger, C. & Adamy, J. Saliency-guided region proposal network for CNN based object detection. 2017 IEEE 20th International Conference on Intelligent Transportation Systems (ITSC), 2017. IEEE, 1-8.

Gunjal, P. R., Gunjal, B. R., Shinde, H. A., Vanam, S. M. & Aher, S. S. Moving object tracking using kalman filter. 2018 International Conference On Advances in Communication and Computing Technology (ICACCT), 2018. IEEE, 544-547.

Gupta, P., Pareek, B., Singal, G., Rao, D. V. J. M. T. & Applications. 2022. Edge device based military vehicle detection and classification from uav. 81, 19813-19834.

Hagerty, J., Stanley, R. J. & Stoecker, W. V. Medical image processing in the age of deep learning. Proceedings of the 12th international joint conference on Computer Vision, Imaging and Computer Graphics Theory and Applications (VISIGRAPP), 2017. 306-311.

Ham, S. W., Park, H.-C., Kim, E.-J., Kho, S.-Y. & Kim, D.-K. J. T. R. R. 2020. Investigating the influential factors for practical application of multi-class vehicle detection for images from unmanned aerial vehicle using deep learning models. 2674, 553-567.

Harikrishnan, P., Thomas, A., Gopi, V. P., Palanisamy, P. & Wahid, K. a. J. a. I. 2021. Inception single shot multi-box detector with affinity propagation clustering and their application in multi-class vehicle counting. 51, 4714-4729.

Haritha, H., Thangavel, S. K. J. I. J. O. C. & Applications. 2021. A modified deep learning architecture for vehicle detection in traffic monitoring system. 43, 968-977.

Hicham, B., Ahmed, A. & Mohammed, M. Vehicle type classification using convolutional neural network. 2018 IEEE 5th International Congress on Information Science and Technology (CiSt), 2018. IEEE, 313-316.

Jin, M., Mauch, L. A. & Bienzeisler, B. J. E.-. 2021. A Deep Learning Framework for automated collection and analysis of traffic data based on identifying and classifying Delivery Vehicles in Logistics.

Kausar, A., Jamil, A., Nida, N., Yousaf, M. H. J. a. J. F. S. & Engineering. 2020. Two-wheeled vehicle detection using two-step and single-step deep learning models. 45, 10755-10773.

Li, J., Xu, Z., Fu, L., Zhou, X. & Yu, H. J. T. R. P. C. E. T. 2021. Domain adaptation from daytime to nighttime: A situation-sensitive vehicle detection and traffic flow parameter estimation framework. 124, 102946.

Liang, Q., Zhu, W., Long, J., Wang, Y., Sun, W. & Wu, W. A real-time detection framework for on-tree mango based on SSD network. International Conference on Intelligent Robotics and Applications, 2018. Springer, 423-436.

Ligayo, M. a. D., Costa, M. T., Tejada, R. R., Lacatan, L. L. & Cunanan, C. F. An Augmented Deep Learning Inference Approach of Vehicle Headlight Recognition for On-Road Vehicle Detection and Counting. 2021 International Conference on Computational Intelligence and Knowledge Economy (ICCIKE), 2021. IEEE, 389-393.

Lin, T.-Y., Dollár, P., Girshick, R., He, K., Hariharan, B. & Belongie, S. Feature pyramid networks for object detection. Proceedings of the IEEE conference on computer vision and pattern recognition, 2017. 2117-2125.

Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C.-Y. & Berg, A. C. Ssd: Single shot multibox detector. European conference on computer vision, 2016. Springer, 21-37.

Liu, Y., Tian, B., Chen, S., Zhu, F. & Wang, K. A survey of vision-based vehicle detection and tracking techniques in ITS. Proceedings of 2013 IEEE international conference on vehicular electronics and safety, 2013. IEEE, 72-77.

Lou, L., Zhang, Q., Liu, C., Sheng, M., Zheng, Y. & Liu, X. Vehicles detection of traffic flow video using deep learning. 2019 IEEE 8th Data Driven Control and Learning Systems Conference (DDCLS), 2019. IEEE, 1012-1017.

Meng, Q., Song, H., Zhang, Y. A., Zhang, X., Li, G. & Yang, Y. J. M. P. I. E. 2020. Video-based vehicle counting for expressway: A novel approach based on vehicle detection and correlation-matched tracking using image data from ptz cameras. 2020.

Rashmi, C. & Shantala, C. Vehicle density analysis and classification using YOLOv3 for smart cities. 2020 4th International Conference on Electronics, Communication and Aerospace Technology (ICECA), 2020. IEEE, 980-986.

Redmon, J. & Farhadi, A. J. a. P. A. 2018. Yolov3: An incremental improvement.

Song, H., Liang, H., Li, H., Dai, Z. & Yun, X. J. E. T. R. R. 2019. Vision-based vehicle detection and counting system using deep learning in highway scenes. 11, 1-16.

Sudha, D. & Priyadarshini, J. J. S. C. 2020. An intelligent multiple vehicle detection and tracking using modified vibe algorithm and deep learning algorithm. 24, 17417-17429.

Sun, C. & Hu, Y. 2021. Intelligent Highway Traffic Detection Algorithm based on Deep Learning.

Taheri Tajar, A., Ramazani, A. & Mansoorizadeh, M. J. J. O. R.-T. I. P. 2021. A lightweight Tiny-YOLOv3 vehicle detection approach. 18, 2389-2401.

Tsai, C.-C., Tseng, C.-K., Tang, H.-C. & Guo, J.-I. Vehicle detection and classification based on deep neural network for intelligent transportation applications. 2018 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA ASC), 2018. IEEE, 1605-1608.

Uijlings, J. R., Van De Sande, K. E., Gevers, T. & Smeulders, A. W. J. I. J. O. C. V. 2013. Selective search for object recognition. 104, 154-171.

Ullah, I. & Lee, H. J. Moving vehicle detection and information extraction based on deep neural network. International Conference on Image Processing, Computer Vision, and Pattern Recognition—IPCV, 2017.

Yang, H. & Qu, S. J. I. I. T. S. 2018. Real‐time vehicle detection and counting in complex traffic scenes using background subtraction model with low‐rank decomposition. 12, 75-85.

Zhang, J., Wang, F.-Y., Wang, K., Lin, W.-H., Xu, X. & Chen, C. J. I. T. O. I. T. S. 2011. Data-driven intelligent transportation systems: A survey. 12, 1624-1639.

Zuraimi, M. a. B. & Zaman, F. H. K. Vehicle detection and tracking using YOLO and DeepSORT. 2021 IEEE 11th IEEE Symposium on Computer Applications & Industrial Electronics (ISCAIE), 2021. IEEE, 23-29.

Published

2024-02-05

How to Cite

Tara Saber Ismail, & Abbas M. Ali. (2024). Vehicle Detection, Counting, and Classification System based on Video using Deep learning Models. Zanco Journal of Pure and Applied Sciences, 36(1), 27–39. https://doi.org/10.21271/ZJPAS.36.1.3

Issue

Section

Engineering and Computer Sciences