Machine Learning Methodology for Identifying Vehicles Using Image Processing

Authors

  • Mohamad Hasanvand Department of Computer Engineering, University of Mohaghegh Ardabili, Iran https://orcid.org/0000-0003-3367-6034
  • Mahdi Nooshyar Department of Computer Engineering, University of Mohaghegh Ardabili, Iran
  • Elaheh Moharamkhani Department of Computer Engineering, Institute of Higher Education Saeb, Iran https://orcid.org/0000-0003-2945-9387
  • Arezu Selyari Department of Computer Engineering, Islamic Azad University, Iran https://orcid.org/0009-0004-2716-5056

DOI:

https://doi.org/10.47852/bonviewAIA3202833

Keywords:

image processing, machine learning, vehicle, accuracy, classification

Abstract

Using computer decision-making rather than human decision-making is one of the top priorities of prosperous nations around the world. The reduction of traffic infractions is one area that requires this field. Identifying the type of vehicle will significantly reduce traffic infractions. The aim of using image processing in the context of driving violations is to minimize time wastage, reduce human errors and optimize the use of resources. However, there is still a certain error rate associated with capturing images of offending vehicles and reading their plates, whether done manually or automatically. One solution to this problem is to use image processing and learning algorithms to accurately determine the type of vehicle involved. This approach can be particularly useful in scenarios where it is necessary to identify the traffic volume or count the number of specific types of vehicles passing through a particular area, such as a street or highway. Images of the automobiles, which serve as the paper’s data source, were compiled from a variety of locations with uniform camera-to-vehicle distances. The image’s background is then eliminated by removing it, and the image’s features, including its morphological features, are retrieved and provided to four classifiers so they may carry out the classification procedures. This report focuses on seven different categories of Iranian vehicles. Three sets of raw, filtered and noisy images were subjected to four machine classifiers, including support vector, k-nearest neighbor, perceptron neural network and Bayesian decision theory. The images were subjected to low-pass Gaussian filtering at various frequencies, after which salt-and-pepper noise and Gaussian noise were used to make them noisy. The results demonstrate that our proposed method with the SVM algorithm has provided acceptable results with an accuracy of 97.1, which is not only more accurate than most methods up to this point but also allows the correct classification of Iranian cars.

 

Received: 7 March 2023 | Revised: 11 April 2023 | Accepted: 17 April 2023

 

Conflicts of Interest

The authors declare that they have no conflicts of interest to this work.


Metrics

Metrics Loading ...

Downloads

Published

2023-04-19

Issue

Section

Research Article

How to Cite

Hasanvand, M. ., Nooshyar, M. ., Moharamkhani, E., & Selyari, A. . (2023). Machine Learning Methodology for Identifying Vehicles Using Image Processing. Artificial Intelligence and Applications, 1(3), 170-178. https://doi.org/10.47852/bonviewAIA3202833