Real-time vehicle detection system on the highway

Main Article Content

Pisanu Kumeechai

Abstract

Locating and classifying different types of vehicles is a vital element in numerous applications of automation and intelligent systems ranging from traffic surveillance to vehicle identification, with deep learning models now dominating the field of vehicle detection. However, vehicle detection in Bangladesh remains a relatively unexplored research lacuna. One of the main goals of vehicle detection is its real-time application, with “You Only Look Once” (YOLO) models proving to be the most effective. This paper compared real-time vehicle highway detection systems using YOLOv4, Faster R-CNN and SSD algorithms to determine the best performance. A vehicle detection and tracking system was also developed that improved highway safety. Vehicle trials compared the real-time performances of the YOLO, Faster R-CNN and SSD algorithms in detecting and tracking highway vehicles by measuring precision, recall, F1-score and operating speed. Models for each algorithm were constructed and each model was trained and tested, with performance measured using a confusion matrix. This statistical tool assessed the efficiency of the system using a prepared test dataset and evaluated the results using appropriate indicators such as real-time road lines, traffic signs and vehicle detection false positive rates. Results showed that the YOLOv4 algorithm outperformed Faster R-CNN and SSD in real-time vehicle detection and tracking on highways. YOLOv4 also processed the results more quickly and proved superior in detecting and tracking objects in real time. The Faster R-CNN algorithm gave high object detection, tracking accuracy and recall while reducing the number of locations needing detection, with the SSD algorithm providing high precision, recall and good image detection results.

Article Details

How to Cite
1.
Kumeechai P. Real-time vehicle detection system on the highway. J Appl Res Sci Tech [Internet]. 2023 Dec. 29 [cited 2024 Nov. 22];22(3):254011. Available from: https://ph01.tci-thaijo.org/index.php/rmutt-journal/article/view/254011
Section
Research Articles

References

Redmon J, Divvala S, Girshick R, Farhadi A. You only look once: Unified, real-time object detection. In Proceedings of the IEEE conference on computer vision and pattern recognition. 2016;2016:779-788. doi: 10.1109/CVPR.2016.91.

Redmon J, Farhadi A. YOLOv3: An incremental improvement. arXiv preprint arXiv. 2018; doi: 10.48550/arXiv.1804.02767.

Bochkovskiy A, Wang CY, Mark Liao HY. YOLOv4: Optimal speed and accuracy of object detection. arXiv preprint arXiv. 2020;2004.10934.

Ren S, He K, Girshick R, Jian Sun. Faster R-CNN: Towards real-time object detection with region proposal networks. In Advances in neural information processing systems. 2015;2015:91-9.

Girshick R. R-CNN F. In Proceedings of the IEEE international conference on computer vision. 2015;1440-8.

Ren S, He K, Girshick R, Sun J. Faster R-CNN: Towards real-time object detection with region proposal networks. IEEE Transactions on Pattern Analysis and Machine Intelligence. 2017;39(6):1137-49.

Liu W, Anguelov D, Erhan D, Szegedy C, Reed S, Fu CY, et al. Berg. SSD: Single shot multibox detector. IEEE Transactions on Pattern Analysis and Machine Intelligence. 2018;40(4):817-23.

Li X, Luo M, Ji S, Zhang L, Lu M. Evaluating generative adversarial networks-based image-level domain transfer for multi-source remote sensing image segmentation and object detection. Int J Remote Sens. 2020;41:7327-51. doi:10.1080/01431161.2020.1757782.

Liu K, Mattyus G. Fast multiclass vehicle detection on aerial images. IEEE Geosci Remote Sens Lett. 2015;12:1938-42. doi: 10.1109/LGRS.2015.2439517.

Audebert N, Le Saux B, Lefèvre S. Segment-before-detect: Vehicle detection and classification through semantic segmentation of aerial images. Remote Sens. 2017;9:368. doi:10.3390/rs9040368.

Ma B, Liu Z, Jiang F, Yan Y, Yuan J, Bu S. Vehicle detection in aerial images using rotation-invariant cascaded forest. IEEE Access. 2019;7:59613-23.

Benjdira B, Khursheed T, Koubaa A, Ammar A, Ouni K. Car Detection using Unmanned Aerial Vehicles: Comparison between Faster R-CNN and YOLOv3. In Proceedings of the 2019 IEEE 1st International Conference on Unmanned Vehicle Systems-Oman (UVS), Muscat, Oman, 5-7 February 2019; p.1-6.

Xi X, Yu Z, Zhan Z, Tian C, Yin Y. Multi-task cost-sensitive-convolutional neural network for car detection. IEEE Access. 2019;7:98061-8. doi: 10.1109/ACCESS.2019.2927866.

Ševo I, Avramovi'c A. Convolutional neural network based automatic object detection on aerial images. IEEE Geosci Remote Sens Lett. 2016;13:740-4. doi: 10.1109/LGRS.2016.2542358.

Ochoa KS, Guo Z. A framework for the management of agricultural resources with automated aerial imagery detection. Comput Electron Agric. 2019;162:53-69. doi: 10.1016/j.compag.2019.03.028.

Kampffmeyer M, Salberg A, Jenssen R. Semantic segmentation of small objects and modeling of uncertainty in urban remote sensing images using deep convolutional neural networks. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Las Vegas, NV, USA, 26 June-1 July 2016; p. 680-688. doi: 10.1109/CVPRW.2016.90.

Azimi SM, Fischer P, Körner M, Reinartz P. Aerial LaneNet: Lane-marking semantic segmentation in aerial imagery using wavelet-enhanced cost-sensitive symmetric fully convolutional neural networks. IEEE Trans Geosci Remote Sens. 2019;57:2920-38. doi: 10.1109/TGRS.2018.2878510.

Mou L, Zhu XX. Vehicle instance segmentation from aerial image and video using a multitask learning residual fully convolutional network. IEEE Trans Geosci Remote Sens. 2018;56:6699-711. doi: 10.1109/TGRS.2018.2841808.

Benjdira B, Bazi Y, Koubaa A, Ouni K. Unsupervised domain adaptation using generative adversarial networks for semantic segmentation of aerial images. Remote Sens. 2019;11:1369. doi: 10.3390/rs11111369.

Jiao L, Zhang F, Liu F, Yang S, Li L, Feng Z, et al. A survey of deep learning-based object detection. IEEE Access. 2019;7:128837-68.

Lin TY, Maire M, Belongie S, Hays J, Perona P, Ramanan D, et al. Microsoft coco: Common objects in context. In European Conference on Computer Vision; Springer: Berlin/Heidelberg, Germany, 2014; p. 740-55.

Ren S, He K, Girshick R, Sun J. Faster R-CNN: Towards Real-time Object Detection with Region Proposal Networks. IEEE Trans Pattern Anal Mach Intell. 2017;39(6):1137-49. doi:10.1109/TPAMI.2016.2577031.

Redmon J, Farhadi A. YOLOv3: An Incremental Improvement. arXiv. 2018;arXiv:1804.02767.

Bochkovskiy A, Wang CY, Liao HYM. YOLOv4: Optimal speed and accuracy of object detection. arXiv. 2020;arXiv:2004.10934.

Youssouf N. Traffic sign classification using CNN and detection using faster-RCNN and YOLOV4. Heliyon. 2022;8(12):e11792.

Farid A, Hussain F, Khan K, Shahzad, Khan U, Mahmood Z. A fast and accurate real-time vehicle detection method using deep learning for unconstrained environments. MDPI Applied Sciences. 2023;13(5):3059. doi: 10.3390/app13053059.

Bochkovskiy A, Wang CY, Liao HYM. YOLOv4: Optimal speed and accuracy of object detection. arXiv preprint arXiv. 2004;10934.

Ren S, He K, Girshick R, Sun J. Faster R-CNN: Towards real-time object detection with region proposal networks. In Advances in Neural Information Processing Systems. 2015;91-9.

Liu W, Anguelov D, Erhan D, Szegedy C, Reed S, Fu CY, et al. SSD:Single shot multibox detector. In European Conference on Computer Vision. 2016;21-37.

Isaac-Medina BKS, Poyser M, Organisciak D, Willcocks CG, Breckon TP, Shum HPH. Unmanned aerial vehicle visual detection and tracking using deep neural networks: A Performance benchmark. In Proceedings of the 2021 IEEE/CVF International Conference on Computer Vision Workshops (ICCVW), Montreal, BC, Canada, 11-17 October 2021; p. 1223-32.

Bewley A, Ge Z, Ott L, Ramos F, Upcroft B. Simple online and real-time tracking. In Proceedings of the 2016 IEEE International Conference on Image Processing (ICIP), Phoenix, AZ, USA, 25-28 September 2016; p. 3464-8.

Wojke N, Bewley A, Paulus D. Simple online and real-time tracking with a deep association metric. In Proceedings of the 2017 IEEE International Conference on Image Processing (ICIP), Beijing, China, 17-20 September 2017; p. 3645-9.

Wang Z, Zheng L, Liu Y, Li Y, Wang S. Towards real-time multi-object tracking. In Proceedings of the 16th European Conference, Glasgow, UK, 23-28 August 2020; p. 107-22.

Lu Z, Rathod V, Votel R, Huang J. RetinaTrack: Online single stage joint detection and tracking. In Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 13-19 June 2020; p. 14656-66.

Bochkovskiy A, Wang CY, Mark Liao HY. YOLOv4: Optimal speed and accuracy of object detection. arXiv preprint arXiv. 2020;10934.

Ren S, He K, Girshick R, Sun J. Faster R-CNN: Towards real-time object detection with region proposal networks. In Advances in Neural Information Processing Systems (NIPS). 2015;91-9.

Liu W, Anguelov D, Erhan D, Szegedy C, Reed S, Fu CY, et al. Berg. SSD: Single Shot Multibox detector. ECCV 2016: Computer Vision - ECCV. 2016;21-37.

Redmon J, Divvala S, Girshick R, Farhadi, A. You only look once: unified, real-time object detection. In: CVPR. 2016.

Ren S, He K, Girshick R, Sun J. Faster R-CNN: towards real-time object detection with region proposal networks. In: NIPS. 2015.

Szegedy C, Reed S, Erhan D, Anguelov D. Scalable, high-quality object detection. arXiv preprint v3. 2015;arXiv:1412.1441.

Erhan D, Szegedy C, Toshev A, Anguelov D. Scalable object detection using deep neural networks. In: CVPR. 2014.

Yurtsever E, Lambert J, Carballo A, Takeda K. A survey of autonomous driving: Common practices and emerging technologies. IEEE Access. 2020;8:58443-69. doi: 10.1109/ACCESS.2020.2983149.