Transactions on Machine Intelligence

Transactions on Machine Intelligence

A Simple Approach for Real Time Speed Estimation of On Road Vehicles Using Video Sequences

Document Type : Original Article

Authors
Electrical Engineering Department, Shahrood University, Shahrood , Iran
Abstract

This study presents a practical and efficient method for real-time speed estimation of vehicles on two-lane roads, particularly suited for surveillance applications. The proposed approach utilizes video input captured from a fixed, stationary camera without requiring prior camera calibration—making it both cost-effective and easy to deploy. The algorithm operates in two primary phases. In the initial phase, an interactive setup allows the user to manually define lane boundaries and corresponding real-world distances once at the beginning of the analysis. Based on this input, two rectangular regions of interest (ROIs) are assigned to each lane. In the second phase, moving vehicles are detected by generating an approximate binary foreground mask through frame differencing of consecutive video frames. By calculating the centroids of moving objects and measuring the norm values of the binary mask within each ROI, the time taken by each vehicle to traverse the space between the predefined lines can be determined. From this time and known distance, the average speed of each vehicle is estimated. Despite its algorithmic simplicity, the method achieves real-time performance without requiring specialized hardware. Experimental results demonstrate a mean speed estimation error of ±3 km/h and a vehicle detection accuracy of approximately 83%.
Keywords

  • Calitz, A., & Hill, M. (2020). Automated license plate recognition using existing university infrastructure and different camera angles. In Proceedings of the 12th International Conference on Computer Recognition Systems CORES 2020 (p. 4).
  • Kanehisa, M., Furumichi, M., Tanabe, M., Sato, Y., & Morishima, K. (2017). KEGG: New perspectives on genomes, pathways, diseases and drugs. Nucleic Acids Research, 45(D1), D353–D361. https://doi.org/10.1093/nar/gkw1092
  • Wang, K., Peng, X., Yang, J., Meng, D., & Qiao, Y. (2019). Region attention networks for pose and occlusion robust facial expression recognition. IEEE Transactions on Image Processing, 29, 4057–4069. https://doi.org/10.1109/TIP.2019.2956143
  • Ghatak, S., Rup, S., Didwania, H., & Swamy, M. (2021). GAN-based efficient foreground extraction and HGWOSA-based optimization for video synopsis generation. Digital Signal Processing, 111, 102988. https://doi.org/10.1016/j.dsp.2021.102988
  • Liu, S., Zhang, Y., Hu, Q., Liu, M., & Zhao, J. (2016). SAR image de-noising based on GNL-means with optimized pixel-wise weighting in non-subsample shearlet domain. Computer and Information Science, 10(1), 16–22. https://doi.org/10.5539/cis.v10n1p16
  • Simon, G., & Tabbone, S. (2021). Generic document image dewarping by probabilistic discretization of vanishing points. In International Conference on Pattern Recognition.
  • Lee, J., Go, H., Lee, H., Cho, S., Sung, M., & Kim, J. (2021). Ctrl-c: Camera calibration transformer with line-classification. In Proceedings of the IEEE/CVF International Conference on Computer Vision (pp. 16228–16237). https://doi.org/10.1109/ICCV48922.2021.01592
  • Xu, W., & Zhang, F. (2020). FAST-LIO: A fast, robust LiDAR-inertial odometry package by tightly-coupled iterated Kalman filter. IEEE Robotics and Automation Letters, 6, 3317–3324. https://doi.org/10.1109/LRA.2021.3064227
  • Xia, Z., Gharbi, M., Perazzi, F., Sunkavalli, K., & Chakrabarti, A. (2020). Deep denoising of flash and no-flash pairs for photography in low-light environments. In 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) (pp. 2063–2072). https://doi.org/10.1109/CVPR46437.2021.00210
  • Ramdania, D., Andrian, R., Irfan, M., Abidin, R., & Kaffah, F. M. (2021). On designing application of finding nearby Islamic boarding schools in West Java using Haversine formula and Euclidean distance algorithms. In 1st International Conference on Islamic Science and Technology (ICONISTECH 2019). https://doi.org/10.4108/eai.11-7-2019.2297517
Volume 4, Issue 1
Winter 2021
Pages 29-35

  • Receive Date 03 January 2021
  • Revise Date 10 February 2021
  • Accept Date 18 March 2021