Support Vector Machine and Histogram of Oriented Gradients-Based Classification System for Waste Type Identification

  • Authors

  • Affiliations

  • Published

  • Section Article

  • DOI https://doi.org/10.56347/jics.v4i2.315

  • Issue
Views icon

306

Views

Downloads icon

95

Downloads

Altmetrics icon

Altmetrics

Abstract

This study examines the effectiveness of classical computer vision methods for modern waste classification by combining Histogram of Oriented Gradients (HOG) for feature extraction with Support Vector Machine (SVM) for classification. The TrashNet dataset, consisting of five categories—cardboard, glass, metal, paper, and plastic—was used as the primary benchmark. To address data limitations and improve generalization, augmentation techniques such as random rotations, horizontal flipping, and brightness adjustments were applied. Hyperparameter optimization was further conducted using GridSearchCV with the RBF kernel to determine the most effective configuration. The optimized model achieved an accuracy of 84.36%, representing a substantial improvement from the 60% baseline. These findings confirm that non-deep learning approaches remain relevant and can serve as computationally efficient alternatives to CNNs, which typically require GPUs and extensive training time. Challenges persist in classifying reflective materials such as glass and metal, where HOG descriptors are less effective. Future work should integrate complementary descriptors, including color and texture-based features, to enhance robustness and scalability. Overall, the study demonstrates that an optimized HOG-SVM pipeline offers a practical, resource-efficient solution for automated waste classification, with strong potential to support sustainable waste management in real-world applications.

References

  1. Abdillah, H., Naufal Syahbana, A., Ishaq, G., Husain, A., & Agustin, S. (2024). Detektif sampah: Klasifikasi jenis sampah organik dan anorganik menggunakan metode YOLOv5 berbasis website. Jurnal Literatur Informatika & Komputer, 3(2).
  2. Achyunda Putra, F. A. I., Utaminingrum, F., & Mahmudy, W. F. (2020). HOG feature extraction and KNN classification for detecting vehicle in the highway. IJCCS (Indonesian Journal of Computing and Cybernetics Systems), 14(3), 231–240. https://doi.org/10.22146/ijccs.54050
  3. Adilah, T., & Azizah, Q. N. (2022). Klasifikasi tumor otak menggunakan ekstraksi fitur HOG dan support vector machine. Infortech, 4(1). http://ejournal.bsi.ac.id/ejurnal/index.php/infortech45
  4. Al-Islama, F., Putra, A., Sulaksono, A. G., Utomo, L. T., & Khamdani, A. R. Klasifikasi buah dan sayur menggunakan fitur ekstraksi HOG dan metode KNN. JIP (Jurnal Informatika Polinema).
  5. Al Rivan, M. E., Arman, M., Irsyad, H., & Prameswara, R. D. (2022). Klasifikasi hewan mamalia berdasarkan bentuk wajah menggunakan fitur histogram of oriented gradients dan metode support vector machine. Jurnal Sisfokom (Sistem Informasi dan Komputer), 11(1), 93–99. https://doi.org/10.32736/sisfokom.v11i1.1205
  6. Alamsyah, R., Tarigan, I. J., & Yap, R. Garbage classification. Jurnal Armada Informatika STMIK Methodist Binjai. https://www.kaggle.com/asdasdasasdas/garbage-classification
  7. Ety Sutanty, Maukar, Dina Kusuma Astuti, & Handayani. (2023). Penerapan model arsitektur VGG16 untuk klasifikasi jenis sampah. Decode: Jurnal Pendidikan Teknologi Informasi, 3(2), 407–419. https://doi.org/10.51454/decode.v3i2.331
  8. Fachrisyam, M., Indra, D., & Hasnawi, M. (n.d.). Implementasi metode YOLO dalam mendeteksi jenis sampah berbasis computer vision. Literatur Informatika & Komputer.
  9. Hartono, E. F., & Rachmat, N. (2022). Klasifikasi jenis plastik HDPE, LDPE, dan PS berdasarkan tekstur menggunakan metode support vector machine. JATISI (Jurnal Teknik Informatika dan Sistem Informasi), 9(2), 1403–1412. https://doi.org/10.35957/jatisi.v9i2.2470
  10. Homepage, J., Sahibu, S., & Taufik, I. (2024). Implementation of the convolutional neural network algorithm for classifying types of organic and non-organic waste. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 4(3), 840–852. https://doi.org/10.57152/malcom.v7i2.1346
  11. Huda, N. L. I., Islam, M. A., Goni, M. O., & Begum, N. (2022). Covid-19 classification using HOG-SVM and deep learning models. 2022 2nd International Conference on Innovative Research in Applied Science, Engineering and Technology (IRASET), 1–5. https://doi.org/10.1109/IRASET52964.2022.9738357
  12. ICECE. (2018). Proceedings of the 10th International Conference on Electrical and Computer Engineering. Dhaka, Bangladesh: IEEE.
  13. Li, B., & Wang, B. (2020). Real and fake label image classification algorithm based on HOG and SVM. Proceedings of the 2020 International Conference on Intelligent Transportation, Big Data and Smart City (ICITBS), 905–909. https://doi.org/10.1109/ICITBS49701.2020.00200
  14. Li, W. L., Li, X. G., Qin, Y. Y., Ma, D., & Cui, W. (2020). Real-time traffic sign detection algorithm based on dynamic threshold segmentation and SVM. Journal of Computers, 31(6), 258–273. https://doi.org/10.3966/199115992020123106020
  15. Luo, Y., Liu, X., & Cao, X. (2021). Improvement and comparison of traditional CNN and SVM classification based on HOG descriptor in pedestrian detection. Proceedings of the 2021 International Conference on Artificial Intelligence and Blockchain Technology (AIBT), 12–16. https://doi.org/10.1109/AIBT53261.2021.00009
  16. Lubis, A. R., Prayudani, S., Fatmi, Y., Al-Khowarizmi, Julham, & Lase, Y. Y. (2021). Detection of HOG features on tuberculosis X-ray results using SVM and KNN. Proceedings of the 2021 2nd International Conference on Innovative and Creative Information Technology (ICITech), 25–29. https://doi.org/10.1109/ICITech50181.2021.9590186
  17. Marpaung, F., Aulia, F., Suryani, N., & Cyra Nabila, R. Computer vision dan pengolahan citra digital. Pustaka Aksara.
  18. Mulyana, D. I., & Rofik, M. A. (n.d.). Implementasi deteksi real time klasifikasi jenis kendaraan di Indonesia menggunakan metode YOLOv5.
  19. Nainggolan, C. E. S., Nasir, M., Udariansyah, D., & others. (2024). Perbandingan klasifikasi jenis sampah menggunakan convolutional neural network dengan arsitektur ResNet18 dan ResNet50. Computer Science Research and Development, 16(1), 76–84. https://doi.org/10.22303/csrid.1.1.2022.01-10
  20. Nandyal, S., & Kattimani, S. L. (2021). An efficient umpire key frame segmentation in cricket video using HOG and SVM. Proceedings of the 2021 6th International Conference for Convergence in Technology (I2CT), 1–7. https://doi.org/10.1109/I2CT51068.2021.9418112
  21. Ramadhani, R. D., Thohari, N. A., Kartiko, C., Junaidi, A., Laksana, T. G., & Nugraha, N. A. S. (2021). Optimasi akurasi metode convolutional neural network untuk identifikasi jenis sampah. Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), 5(2), 312–318. https://doi.org/10.29207/resti.v5i2.2754
  22. Rachmat, N., Mahendra, A., & Studi Informatika, P. (2021). Klasifikasi jenis ikan laut menggunakan metode SVM dengan fitur HOG dan HSV. Jurnal MDP, 8(4). http://jurnal.mdp.ac.id
  23. Shafira, M. N., & Utaminingrum, F. (2020). Implementasi histogram of oriented gradients dengan support vector machine dalam rancang bangun tempat sampah kantor otomatis. Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, 4(9), 2886–2894. http://j-ptiik.ub.ac.id/index.php/j-ptiik/article/view/7800
  24. Sharma, K., Sarangi, P. K., Rani, L., Singh, G., Sahoo, A. K., & Rath, B. P. (2022). Handwritten digit classification using HOG features and SVM classifier. Proceedings of the 2022 2nd International Conference on Advance Computing and Innovative Technologies in Engineering (ICACITE), 2071–2074. https://doi.org/10.1109/ICACITE53722.2022.9823782
  25. Shunardi, Y., Yudhana, A., & Fahmi, M. (2023). SVM-CNN hybrid classification for waste image using morphology and HSV color model image processing. Traitement du Signal, 40(4), 1763–1769. https://doi.org/10.18280/ts.400446
  26. Solem, J. E. (2025). Programming computer vision with Python. O’Reilly Media.
  27. Szeliski, R. (2010). Computer vision: Algorithms and applications. Springer. http://szeliski.org/Book
  28. Szeliski, R. (2021). Computer vision: Algorithms and applications. Springer. https://szeliski.org/Book
  29. Tanjung, J. P., & Muhathir, M. (2020). Classification of facial expressions using SVM and HOG. Journal of Informatics and Telecommunication Engineering, 3(2), 210–215. https://doi.org/10.31289/jite.v3i2.3182
  30. Wang, X., Zhou, Z., Li, Y., & Jin, Z. (2020). An algorithm for detecting the HOG features of head and shoulder of football players based on SVM classifier. Proceedings of the 2020 International Conference on Intelligent Transportation, Big Data and Smart City (ICITBS), 845–849. https://doi.org/10.1109/ICITBS49701.2020.00186
  31. Wong, J. (2022). Aplikasi klasifikasi sampah organik dan non organik dengan metode GLCM dan LS-SVM. Bulletin of Computer Science Research, 3(1), 83–89. https://doi.org/10.47065/bulletincsr.v3i1.198
  32. Xu, P., Huang, L., & Song, Y. (2022). An optimal method based on HOG-SVM for fault detection. Multimedia Tools and Applications, 81(5), 6995–7010. https://doi.org/10.1007/s11042-022-12020-0
  33. Yohannes, Y., Udjulawa, D., & Sariyo, T. I. (2021). Klasifikasi jenis jamur menggunakan SVM dengan fitur HSV dan HOG. PETIR, 15(1), 113–120. https://doi.org/10.33322/petir.v15i1.1101

Author Biographies

How to Cite

Notonegoro, D. S., & Mulyana, D. I. (2025). Support Vector Machine and Histogram of Oriented Gradients-Based Classification System for Waste Type Identification. Journal Innovations Computer Science, 4(2), 203-212. https://doi.org/10.56347/jics.v4i2.315

Article Details

  • Volume: 4
  • Issue: 2
  • Pages: 203-212
  • Published:
  • Section: Article
  • Copyright: 2025
  • ISSN: 2961-970X

License

Articles in this journal are published under the Creative Commons Attribution Licence (CC-BY 4.0). This means that users may share and adapt the articles published on this website in a reasonable manner, but they must give appropriate credit to the creator and indicate the changes they have made. Users must not apply additional restrictions, but must publish the work under the same license (CC-BY 4.0).

Similar Articles

Similar Articles

Discover other articles with topics similar to what you're currently reading. Find more references and expand your knowledge base.

Related Articles You May Be Interested In

More Similar Articles

Market Segmentation for Local Product Marketing Strategy...

Satya Arisena Hendrawan, Tristyanti Yusnitasari, Teddy Oswari

Vol. 4 No. 1 (2025): May
Mobile-Based Real-Time Ornamental Rose Classification...

Irgy Achmad Fahrezi, Edhy Poerwandono

Vol. 4 No. 2 (2025): November
Clustering and Classification of Retail Sales Data: A Big...

Ahmad Bilal Almagribi, Sri Redjeki

Vol. 4 No. 2 (2025): November
Implementation of C4.5 Algorithm for Student Satisfaction...

Hanna Sabilla Rifai, Mesra Betty Yel

Vol. 4 No. 2 (2025): November
Most read articles by the same author(s)

Related Articles

Article

Real-Time Face Recognition System with Enhanced...

Journal Innovations Computer Science: Vol. 4 No. 2 (2025): November

Rodhi Shafia Zaidan, Kastum, Dadang Iskandar Mulyana

Article

Enhancing Real-Time Face Recognition Robustness...

Journal Innovations Computer Science: Vol. 4 No. 2 (2025): November

Muhammad Rival, Dadang Iskandar Mulyana