Bulletin of Electrical Engineering and Informatics
Vol 14, No 6: December 2025

Comparative analysis of Haar Cascade, OpenCV, and you only look once algorithms for vehicle detection

Kaur, Gagandeep (Unknown)
Pawar, Shital (Unknown)
Patil, Rutuja Rajendra (Unknown)
Patil, Amol Vijay (Unknown)
Yenkikar, Anuradha V. (Unknown)
Bhandari, Nikita (Unknown)
Kadam, Kalyani Dhananjay (Unknown)



Article Info

Publish Date
01 Dec 2025

Abstract

Object detection is one of the substantial tasks in computer vision and has a wide range of applications ranging from autonomous driving to monitoring systems. This study presents a comparative analysis of vehicle detection approaches, contrasting traditional methods (OpenCV contour analysis and Haar Cascade) with modern deep learning-based you only look once version 8 (YOLOv8) and its variants. Vehicles were identified and localized within video frames using bounding boxes, with performance assessed through accuracy, F1-score, mean average precision (mAP), and inference speed. YOLOv8 consistently achieved superior accuracy (up to 98% in specific scenarios) and real-time processing speeds (155 FPS), confirming its suitability for safety-critical applications such as intelligent transport systems and autonomous navigation. However, its higher computational and memory demands highlight deployment trade-offs, where lighter variants like YOLOv8s remain feasible for embedded or low-power devices. In contrast, Haar Cascade and contour analysis offered faster execution and smaller memory footprints but lacked robustness under complex environmental conditions. The study also acknowledges limitations such as dataset bias, adverse weather effects, and scalability challenges, which may impact generalization in real-world deployments. By analyzing these trade-offs, the work provides essential insights to guide practitioners in selecting suitable vehicle detection solutions across diverse application environments.

Copyrights © 2025






Journal Info

Abbrev

EEI

Publisher

Subject

Electrical & Electronics Engineering

Description

Bulletin of Electrical Engineering and Informatics (Buletin Teknik Elektro dan Informatika) ISSN: 2089-3191, e-ISSN: 2302-9285 is open to submission from scholars and experts in the wide areas of electrical, electronics, instrumentation, control, telecommunication and computer engineering from the ...