Firat University Journal of Experimental and Computational Engineering (Feb 2024)

A HOG Feature Extractor and KNN-Based Method for Underwater Image Classification

  • Kübra Demir,
  • Orhan Yaman

DOI
https://doi.org/10.62520/fujece.1443818
Journal volume & issue
Vol. 3, no. 1
pp. 1 – 10

Abstract

Read online

Underwater garbage affects the life of marine creatures and the entire ecosystem. Detecting underwater garbage is an important research area. In this study, a method is proposed to detect underwater garbage. The open-access Trash-ICRA19 dataset was used to implement the proposed method. The data set cropping process was applied and a data set consisting of 11060 images in total was obtained. These images were converted to 200×200 pixels using preprocessing. By applying the Directed Gradient Histogram (HOG) algorithm, 11060×900 feature vectors were obtained. The resulting feature vectors were then calculated using KNN (K Nearest Neighbor Algorithm), DT (Decision Tree), LD (Linear Discriminant), NB (Naive Bayes), and SVM (Support Vector Machine) classifiers. The results obtained showed that 97.78% accuracy was obtained when the KNN classifier was used in this method. The use of only feature extractors and classifiers in the proposed method shows that the method is lightweight. It has low computational complexity compared to existing studies in the literature. Moreover, according to its performance results, it is more successful than the methods in the literature.

Keywords