A centroid-based algorithm for measuring and tracking vehicle speed from a monocular camera using the YOLOv8 object detector

Pankaj Kumar Gautam, Sanjeev Kumar

Abstract


Accurate real-time vehicle speed measurement is crucial for enhancing road safety and advance intelligent transportation systems (ITS). This paper proposes a centroid-based tracking algorithm that integrates YOLOv8, a state-of-the-art object detector, with DeepSORT for robust multi-object tracking. By leveraging YOLOv8’s anchor-free detection and DeepSORT’s appearance-based association, the proposed method effectively mitigates occlusions and minimizes identity switches. Evaluations on the VS13 benchmark dataset reveal a 2–5% improvement in measurement accuracy as compared to existing solutions, while maintaining real-time performance at 30 FPS. The method demonstrates consistent reliability across different vehicle models, speeds, and lighting conditions, underscoring its adaptability to real-world traffic scenarios. Moreover, larger bounding boxes enhance tracking stability, reducing false detections. Overall, the approach’s low computational overhead and high accuracy position it as a practical solution for ITS applications in constrained environments.

Keywords


Computer vision; Neural networks; Object detection; Speed estimation; Target tracking; YOLO

Full Text:

PDF


DOI: http://doi.org/10.11591/ijeecs.v40.i1.pp437-449

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Indonesian Journal of Electrical Engineering and Computer Science (IJEECS)
p-ISSN: 2502-4752, e-ISSN: 2502-4760
This journal is published by the Institute of Advanced Engineering and Science (IAES).

shopify stats IJEECS visitor statistics