Classification of Watermelon Flavor Using Artificial Neural Network with Color, Texture, and Shape Features
DOI:
https://doi.org/10.52436/1.jutif.2026.7.3.5457Keywords:
Artificial Neural Network, Digital Image Processing, Watermelon Flavor ClassificationAbstract
Watermelon (Citrullus vulgaris Schard) is a widely produced fruit due to its high nutritional value and health benefits. However, consumers often experience difficulty in distinguishing sweet and bland watermelons because quality assessment is generally conducted manually and subjectively. To address this issue, this study proposes a watermelon flavor classification system based on visual features, including color, texture, and shape, using an Artificial Neural Network approach with digital image processing. The dataset used in this study consists of 214 images collected from 55 watermelon samples, categorized into sweet and bland classes. The proposed method involves several stages, namely image acquisition, preprocessing, grayscale conversion, segmentation, morphological operations, feature extraction, and classification using a feedforward backpropagation learning algorithm. Various combinations of visual features were evaluated to determine the most effective configuration. Experimental results show that the proposed system achieves an accuracy of 93.67% on training data and 92.85% on testing data, with an average computation time of 0.319 seconds per image. The findings indicate that the integration of Hue Saturation Value color features, texture features derived from the Gray-Level Co-occurrence Matrix, and shape features significantly enhances the accuracy of watermelon flavor classification. This study contributes to the development of an objective, efficient, and non-destructive fruit quality assessment system and demonstrates potential applicability to other types of fruits using a similar approach.
Downloads
References
M. Afriansyah, J. Saputra, Y. Sa’adati, and Valian Yoga Pudya Ardhana, “Optimasi Algoritma Naive Bayes Untuk Klasifikasi Buah Apel Berdasarkan Fitur Warna RGB,” Bulletin of Computer Science Research, vol. 3, no. 3, pp. 242–249, 2023, doi: 10.47065/bulletincsr.v3i3.251.
M. E. Putri, “Implementasi Tingkat Kemanisan Buah Semangka Berdasarkan Tekstur Kulit Buah Menggunakan Metode Ekstraksi Ciri Statistik,” 2021.
M. A. Ikhsanudin, E. Setyati, and H. Junaedi, “Deteksi Tingkat Kemanisan Buah Semangka (Citrullus Lanatus) Berdasarkan Ciri Kulit Buah Dengan Menggunakan Metode CNN (Convolutional Neural Network),” JIPI (Jurnal Ilmiah Penelitian dan Pembelajaran Informatika), vol. 8, no. 4, pp. 1501–1513, 2023, doi: 10.29100/jipi.v8i4.4118.
J. Supriyanti, N. Karjunita, and K. Kuswandi, “Preferensi Konsumen Terhadap Kualitas Buah Semangka di Kabupaten Sijunjung,” Jurnal Agribisnis Unisi, vol. 13, no. 1, pp. 1–8, 2024, doi: 10.32520/agribisnis.v11i1.1935.
J. Mashilo, H. Shimelis, R. M. Ngwepe, and Z. Thungo, “Genetic Analysis of Fruit Quality Traits in Sweet Watermelon ( Citrullus lanatus var . lanatus ): A Review,” Frontiers in Plant Science, vol. 13, no. 3, pp. 1–14, 2022, doi: 10.3389/fpls.2022.834696.
D. R. Fernandes and N. Rachmat, “Klasifikasi Non-Destruktif Kemanisan Semangka Manohara Menggunakan Transfer Learning VGG-16,” Jurnal Teknologi dan Manajemen Industri Terapan, vol. 4, no. 4, pp. 1330–1339, 2025, doi: 10.55826/81wv2s06.
C. Lanatus, D. I. Pasar, and K. Baru, “Analisis Preferensi Konsumen Terhadap Buah Semangka Merah Amara (Citrullus Lanatus) di Pasar Kota Baru Bojonegoro,” Jurnal AGRIFO, vol. 9, no. 2, 2024, doi: 10.29103/ag.v9i2.19340.
E. F. Pratiwi, H. Rizqiati, and Nurwantoro, “Total Padatan Terlarut , Total Asam , CO 2 , Total Bakteri Asam Laktat , dan Organoleptik Water Kefir Semangka dengan Konsentrasi Sukrosa yang Berbeda,” Jurnal Teknologi Pangan, vol. 6, no. 2, pp. 8–13, 2022, doi: 10.14710/jtp.2022.24161.
N. H. Baco, A. A. Laya, and M. R. Buhang, “Pengaruh Pemberian Jus Semangka Merah Terhadap Tekanan Darah pada Dewasa Akhir di Kelurahan Mahawu Lingkungan VII,” Jurnal Sains dan Kesehatan, vol. 8, no. 1, 2024, doi: 10.57214/jusika.v8i1.553.
Statistik, “Produksi Buah-buahan dan Sayuran Menurut Jenis Tanaman Menurut Provinsi, 2023,” Badan Pusat Statistika.
M. Yusuf et al., “Sistem Pakar Diagnosa Penyakit Pada Tanaman Semangka Merah Menggunakan Metode CNN Berbasis Android,” JTS: Jurnal Teknik, vol. 13, no. 1, pp. 99–109, 2024, doi: 10.31000/jt.v13i1.11830.
A. S. Mulyani and F. Utaningrum, “Lima Fitur Gray Level Co-Occurence Matrix Untuk Deteksi Kemanisan Buah Semangka Tanpa Biji Dengan Klasifikasi Support Vector Machine Berbasis Raspberry Pi,” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 5, no. 6, pp. 2206–2213, 2021, [Online]. Available: https://j-ptiik.ub.ac.id/index.php/j-ptiik/article/view/9229
A. A. Nurfitri, A. I. Kaparang, M. T. Hidayat, A. B. Kaswar, and D. D. Andayani, “Classification of the Level of Sugar Content in Papaya Fruit Based on Color Features Using Artificial Neural Network,” Jurnal Teknik Informatika (Jutif), vol. 4, no. 6, pp. 1447–1456, 2023, doi: 10.52436/1.jutif.2023.4.6.733.
M. S, R. A. Burhan, T. Yuliarni, A. B. Kaswar, and D. D. Andayani, “Classification of Sugar Levels In Banana Fruit Based On Color Features Using Digital Image Processing-Based Artificial Neural Networks,” Jurnal Teknik Informatika (Jutif), vol. 4, no. 6, pp. 1447–1456, 2023, doi: 10.52436/1.jutif.2023.4.6.733.
A. Qurrotul and F. Utaminingrum, “Rancang Bangun Deteksi Kemanisan Buah Semangka menggunakan Metode Gray Level Co-Occurrence Matrix dan Backpropagation Neural Network berbasis Raspberry Pi,” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 6, no. 2, pp. 707–712, 2022.
I. Jangcik, Sasmita, M. B. Billah, and Yuhelmi, “Penerapan Metode K-Nearest Neighbor Klasifikasi Jenis Buah Semangka dengan Image Processing,” Jurnal Sistem Informasi, vol. 5, no. 3, pp. 535–548, 2023, doi: 10.31849/zn.v5i3.16301.
Z. Liu, Y. Zhang, Y. Zhang, L. Guo, C. Wu, and W. Shen, “Evaluation of Table Grape Flavor Based on Deep Neural Networks,” Applied Sciences (Switzerland), vol. 13, no. 11, 2023, doi: 10.3390/app13116532.
M. R. Saputra and H. Irsyad, “Klasifikasi Tingkat Kemanisan Alpukat Berdasarkan Fitur Hue Saturation Value (HSV) dengan Menggunakan Support Vector Machine (SVM),” Jurnal Algoritme, vol. 2, no. 2, pp. 113–119, 2022, doi: 10.35957/algoritme.v2i2.2361.
C. Chairati, N. Awalia, B. M. Jamaluddin, A. B. Kaswar, and S. Sasmita, “Klasifikasi Rasa Buah Salak Berdasarkan Warns dan Bentuk Menggunakan Metode Jaringan Saraf Tiruan Berbasis Pengolahan Citra Digital,” JIPI: Jurnal Ilmiah Penelitian dan Pembelajaran Informatika, vol. 9, no. 3, pp. 1226–1235, 2024, doi: 10.29100/jipi.v9i3.5289.
J. C. Lapendy, A. A. C. Resky, H. Makmur, A. B. Kaswar, D. D. Andayani, and F. Adiba, “Klasifikasi Rasa Jeruk Siam Berdasarkan Warna Dan Tekstur Berbasis Pengolahan Citra Digital,” JIPI (Jurnal Ilmiah Penelitian dan Pembelajaran Informatika), vol. 9, no. 2, pp. 756–767, 2024, doi: 10.29100/jipi.v9i2.5384.
H. S. Gill, O. I. Khalaf, Y. Alotaibi, S. Alghamdi, and F. Alassery, “Fruit Image Classification Using Deep Learning,” Tech Science Press, vol. 71, no. 3, pp. 5135–5150, 2022, doi: 10.32604/cmc.2022.022809.
Y. Gulzar, “Fruit Image Classification Model Based on MobileNetV2 with Deep Transfer Learning Technique,” Sustainability (Switzerland), vol. 15, no. 3, p. 1906, 2023, doi: 10.3390/su15031906.
X. Zhao, L. Zhao, and B. Cui, “Strategies and Mechanisms of Sweetness Enhancement,” International Journal of Food Science and Technology, vol. 60, no. 2, pp. 1–16, 2025, doi: 10.1093/ijfood/vvaf207.
S. Haryati et al., Budidaya semangka. Kementrian Pertanian, 2022.
E. I. Pratama, R. Dewati, and M. F. Anwar, “Preferensi Konsumen Buah Semangka Di Pasar Semangka Kecamatan Jebres Kota Surakarta,” Jornal of Agribusiness, Social and Economic, vol. 3, no. 1, pp. 1–8, 2023.
A. F. Setyowati, P. S. Wardani, E. R. Putri, D. R. P, S. Putri, and Y. R. Eko, “Pengolahan Citra Digital EKG Rumah Sakit Tk. IV Samarinda,” Progressive Physics Journal, vol. 5, no. 1, pp. 343–349, 2024, doi: 10.30872/ppj.v5i1.1037.
F. A. P. Efran, Khairil, and J. Jumadi, “Implementasi Metode K-Means Clustering Pada Segmentasi Citra Digital,” Jurnal Media Infotama, vol. 18, no. 2, pp. 291–301, 2022, doi: 10.37676/jmi.v18i2.2899.
P. Dhiman, A. Kaur, V. R. Balasaraswathi, Y. Gulzar, A. A. Alwan, and Y. Hamid, “Image Acquisition , Preprocessing and Classification of Citrus Fruit Diseases : A Systematic Literature Review,” Sustainability (Switzerland), vol. 15, no. 12, p. 9643, 2023, doi: 10.3390/su15129643.
B. Nurhannudin, “Perancangan Sistem Deteksi Tingkat Kemiringan Jalan Sederhana Dengan Metode Otsu Thresholding Menggunakan Colab,” Router : Jurnal Teknik Informatika dan Terapan, vol. 2, no. 3, pp. 137–146, 2024, doi: 10.62951/router.v2i3.156.
R. N. J. S. Intam, A. Raihan, M. Alfajri, A. B. Kaswar, D. D. Andayani, and Asnidar, “Sistem Klasifikasi Jenis Sampah Berdasarkan Kombinasi Fitur Warnac Tekstur Menggunakan Artifical Neural Network Berbasis Pengolahan Citra Digital,” Jurnal Teknologi Informasi dan Ilmu Komputer, vol. 11, no. 2, pp. 411–420, 2024, doi: 10.25126/jtiik.20241128330.
G. B. Nugroho, R. Ananda, and P. Rosyani, “Identifikasi Obyek Benda Tajam Di Bandara Menggunakan Pengolahan Citra Digital Pada Citra X-Ray,” Jurnal AI dan SPK: Jurnal Artificial Intelegent dan Sistem Penunjang Keputusan, vol. 1, no. 4, pp. 272–277, 2024, doi: 10.30870/VOLT.V1I1.815.
A. Fahla, A. Jalil, and R. Rahmadewi, “Segmentasi Citra Digital Ikan Menggunakan Metode Thresholding,” Jurnal Ilmiah Sains vol. 10, no. 2, 2024, doi: 10.35799/jis.13.1.2013.2057.
M. Muchtar and R. A. Muchtar, “Perbandingan Metode Knn Dan Svm Dalam Klasifikasi Kematangan Buah Mangga Berdasarkan Citra Hsv Dan Fitur Statistik,” Jurnal Informatika dan Teknik Elektro Terapan, vol. 12, no. 2, pp. 876–884, 2024, doi: 10.23960/jitet.v12i2.4010.
R. Kurniawan, R. H. Nasution, S. Marwah, and B. Nasution, “Penerapan Metode Gray Level Co-Occurrence Matrix Dan Knn Untuk Mendeteksi Tingkat Kematangan Buah Mengkudu,” Journal of Science and Social Research, vol. 4307, no. 2, pp. 765–772, 2024, doi: 10.54314/jssr.v7i2.1836.
C. C. Ukwuoma, Q. Zhiguang, B. Bin Heyat, L. Ali, Z. Almaspoor, and H. N. Monday, “Recent Advancements in Fruit Detection and Classification Using Deep Learning Techniques,” Hindawi, vol. 2022, p. 29, 2022, doi: 10.1155/2022/9210947.
Additional Files
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Muh Faqih S Musgamy, Muhammad Risaldi, Ayu Safitri, Andi Baso Kaswar, Muhammad Fajar B, Jumadi M Parenreng

This work is licensed under a Creative Commons Attribution 4.0 International License.





