Klasifikasi Jenis Rempah-Rempah Menggunakan Metode Algoritma Convolutional Neural Network (CNN)

Authors

  • Lukman Researcher Author
  • Farid Wajidi Universitas Sulawesi Barat Author
  • Ismaun Rusman Universitas Sulawesi Barat Author

DOI:

https://doi.org/10.36050/kczxhd54

Keywords:

Algorithm CNN, Types of Spices, Classification, Image Processing, Spices

Abstract

Spices play a crucial role in the lives of Indonesian people, where these ingredients are utilized as flavor enhancers, natural dyes, preservatives, and primary components in traditional medicine. Nevertheless, a significant portion of the population still encounters difficulties in distinguishing various types of spices due to morphological similarities between groups, as observed in ginger, turmeric, galangal, lesser galangal, Java ginger, and red ginger. This research is designed to classify these six types of spices using the Convolutional Neural Network (CNN) method. The dataset employed consists of 600 spice images, with each class comprising 100 images, subsequently divided into training data (80%) and testing data (20%). The research process encompasses dataset collection, the pre-processing stage involving resizing images to 46x46 pixels, data division, CNN model training, and performance evaluation through the confusion matrix. The results indicate that the CNN model successfully recognizes the ginger and red ginger classes with high accuracy, whereas in the classes of lesser galangal, turmeric, and Java ginger, classification errors persist due to visual similarities between spices. Overall, the CNN approach proves effective for spice classification, although further enhancements are required in specific classes to achieve more optimal and accurate outcomes.

References

[1] Yahya HZ, Ramdhani Y. Klasifikasi Bumbu Dapur Pasar Menggunakan Metode Deep Neural Network Berbasis Android. 2023;6(1):19–33.

[2] Putra AE, Naufal MF, Prasetyo VR. Klasifikasi Jenis Rempah Menggunakan Convolutional Neural Network dan Transfer Learning. 2023;9(1).

[3] Nafi M, Hakim M, Nugroho AB, Minarno AE. Prediksi Tumor Otak Menggunakan metode Convolutional Neural Network. 2022;17(1):2–5.

[4] Ilhami MFA, Wibisono S. Klasifikasi Rimpang Menggunakan Metode Jaringan Saraf Konvolusi Dengan Arsitektur Alexnet. INTECOMS J Inf Technol Comput Sci. 2023;6(2):666–670. doi:10.31539/intecoms.v6i2.6634

[5] Wirogatama. Arsitektur Neural Network. Archit Neural Netw. Published online 2019:181– 211.

[6] Suartika E. P, I Wayan, Wijaya Arya Yudhi SR. Klasifikasi Citra Menggunakan Convolutional Neural Network (CNN) Pada Caltech 101. J Tek ITS. 2016;5(1):76.

[7] Indolia S, Kumar A, Mishra SP, Asopa P. ScienceDirect Conceptual Understanding of Convolutional Neural Network- A Deep Learning Approach. Procedia Comput Sci. 2018;132:679–688. doi:10.1016/j.procs.2018.05.069

[8] Irfansyah D, Mustikasari M, Suroso A, et al. Arsitektur Convolutional Neural Network ( CNN ) Alexnet Untuk Klasifikasi Hama Pada Citra Daun Tanaman Kopi. 2021;6(2):87–92.

[9] Situngkir, T. Y. P. Klasifikasi Penyakit pada Daun Kentang Menggunakan Pengolahan Citra dengan Metode Convolutional Neural Network (CNN). 2022; Skripsi, Program Studi Informatika, Fakultas Teknik Industri, Universitas Pembangunan Nasional “Veteran” Yogyakarta.

[10] 1.Bowo TA, Syaputra H, Akbar M. Penerapan Algoritma Convolutional Neural Network Untuk Klasifikasi Motif Citra Batik Solo. J Softw Eng Ampera. 2020;1(2):82–96. doi:10.51519/journalsea.v1i2.47

Downloads

Published

2025-12-30