Aplikasi Deteksi Kesegaran Ikan Menggunakan Convolutional Neural Network dan Random Forest

Authors

  • Arjunaedy Restu Sabardynata Teknik Informatika, Universitas Bhayangkara Surabaya
  • Eko Prasetyo Teknik Informatika, Universitas Bhayangkara Surabaya
  • Rahmawati Febrifyaning Tias Teknik Informatika, Universitas Bhayangkara Surabaya

DOI:

https://doi.org/10.33020/saintekom.v16i1.1027

Keywords:

freshness, fish, Resnet50, VGG16, image, classification

Abstract

This study is motivated by the importance of selecting healthy food in Indonesia, especially fish as a high-protein source that is highly perishable. People often struggle to distinguish fresh fish from those unfit for consumption, posing health risks. To tackle this issue, this study developed an application for detecting fish freshness using a Convolutional Neural Network (CNN) as a feature generator and Random Forest as a classifier. The CNN models employed were Residual Network 50 (Resnet50) and Visual Geometry Group 16 (VGG16). Experiments were conducted on a dataset consisting of 1,663 images of three types of fish: milkfish, tilapia, and mujair. The freshness of the fish was classified into three categories: very fresh, fresh, and not fresh. Model training utilized 80% of the data, with the remaining 20% reserved for testing. Out of a total of 333 test images (20% of the dataset), Resnet50 achieved an accuracy of 64.23% (with 86.01% accuracy for the very fresh class, 43.16% for fresh, and 52.63% for not fresh). VGG16 performed slightly better, attaining an overall accuracy of 65.16% (89.36% for very fresh, 44.90% for fresh, and 53.41% for not fresh). In terms of average accuracy, precision, recall, and F1-score, VGG16 outperforms Resnet50, although both models still make incorrect predictions. Overall, VGG16 was more effective than Resnet50 for fish freshness classification in this study.

Downloads

Download data is not yet available.

References

Andhikawati, A., Akbarsyah, N., Permana, R., Kusuma, P., Noor, D., & Putra, Y. (2023). Penyuluhan Mengenai Karakteristik Ikan Segar dan Ikan Mundur Mutu Di Desa Cintaratu, Kabupaten Pangandaran. Farmers?: Journal of Community Services, 4(1), 21–25. https://doi.org/10.24198/FJCS.V4I1.45215

Deco, V. T., Nilogiri, A., & A’yun, Q. (2021). Klasifikasi Kesegaran Ikan Lemuru Berdasarkan Citra Mata Menggunakan Metode Convolutional Neural Network. Jurnal Aplikasi Sistem Informasi Dan Elektronika, 3(1), 14–25. https://doi.org/10.32528/JASIE.V3I1.9159

Fajar Maulana Natsir, A. M., Achmad, A., Pascasarjana Sistem Komputer, P., Handayani Makassar, U., Adyaksa Baru No, J., Panakkukang, K., Makassar, K., & Selatan, S. (2023). Klasifikasi Ikan Tuna Layak Ekspor Menggunakan Metode Convolutional Neural Network. Jurnal Ilmiah Sistem Informasi Dan Teknik Informatika (JISTI), 6(2), 172–183. https://doi.org/10.57093/JISTI.V6I2.173

Fan, Y., Ji, Z., Sun, C., Xu, D., Yang, X., Shi, C., & Fan, H. (2025). Integrating EEM fluorescence spectroscopy with machine and deep learning models for multi-output prediction of fish freshness. Applied Food Research, 5(2), 101374. https://doi.org/10.1016/J.AFRES.2025.101374

Hanifa, M. F., Ramadhan, A. T., Husna, N., Widiyono, N. A., Mubarak, R. S., Putri, A. A., & Priyanta, S. (2023). Fishku Apps: Fishes Freshness Detection Using CNN With MobilenetV2. IJCCS (Indonesian Journal of Computing and Cybernetics Systems), 17(1), 67–78. https://doi.org/10.22146/IJCCS.80049

Harahap, L. S., & Kembaren, M. F. H. (2025). Klasifikasi Objek Menggunakan Convolutional Neural Network pada Citra Satelit. RIGGS: Journal of Artificial Intelligence and Digital Business, 4(2), 4663–4667. https://doi.org/10.31004/riggs.v4i2.1306

Hasan, M., Vasker, N., Hossain, M. M., Bhuiyan, M. I., Biswas, J., & Ahmmad Rashid, M. R. (2024). Framework for fish freshness detection and rotten fish removal in Bangladesh using mask R–CNN method with robotic arm and fisheye analysis. Journal of Agriculture and Food Research, 16, 101139. https://doi.org/10.1016/J.JAFR.2024.101139

Justam, J., Takbir, M. N., Umar, S. M., Erlita, E., & Lewa, R. O. (2024). Sistem Identifikasi Kesegaran Ikan Berbasis Android Menggunakan Convolutional Neural Network (CNN). Jurnal Ilmiah Sistem Informasi Dan Teknik Informatika (JISTI), 7(2), 340–350. https://doi.org/10.57093/JISTI.V7I2.271

Maulu, S., Nawanzi, K., Abdel-Tawwab, M., & Khalil, H. S. (2021). Fish Nutritional Value as an Approach to Children’s Nutrition. Frontiers in Nutrition, 8, 780844. https://doi.org/10.3389/FNUT.2021.780844/XML

Nafi’, Z. L. R., & Hidayatullah, M. S. (2025). Deteksi Kesegaran Ikan Nila Menggunakan Convolutional Neural Networks Berbasis Citra Digital. Journal of Data Analytics, Information, and Computer Science, 2(2), 192–198. https://doi.org/10.70248/JDAICS.V2I2.914

Pan, Y., Wang, Y., Zhou, Y., Zhou, J., Chen, M., Liu, D., Li, F., Liu, C., Zeng, M., Jiang, D., Yuan, X., & Wu, H. (2025). A Smartphone-Based Non-Destructive Multimodal Deep Learning Approach Using pH-Sensitive Pitaya Peel Films for Real-Time Fish Freshness Detection. Foods 2025, Vol. 14, Page 1805, 14(10), 1805. https://doi.org/10.3390/FOODS14101805

Prasetyo, E., Adityo, R. D., Suciati, N., & Fatichah, C. (2020). The freshness of fish eyes dataset. Mendeley Data. https://doi.org/10.17632/xzyx7pbr3w.1

Pujiarini, E. H., & Lenti, F. N. (2023). Convolution Neural Network Untuk Identifikasi Tingkat Kesegaran Ikan Nila Berdasarkan Perubahan Warna Mata. Jurnal Khatulistiwa Informatika, 11(1), 21–25. https://doi.org/10.31294/JKI.V11I1.14305

Ramadhan, M. D., & Setiyono, B. (2019). Pengolahan Citra untuk Mengetahui Tingkat Kesegaran Ikan Menggunakan Metode Transformasi Wavelet Diskrit. Jurnal Sains Dan Seni ITS, 8(1), 23–28. https://doi.org/10.12962/J23373520.V8I1.37715

Riansyah, R., & Sugianto, C. A. (2025). Deteksi Kesegaran Ikan Bandeng Dengan Algoritma Convolutional Neural Network (CNN). Ipsikom, 13(2), 135–143. https://doi.org/10.58217/IPSIKOM.V13I2.96

Ridhovan, A., & Suharso, A. (2022). Penerapan Metode Residual Network (Resnet) Dalam Klasifikasi Penyakit Pada Daun Gandum. JIPI (Jurnal Ilmiah Penelitian Dan Pembelajaran Informatika), 7(1), 58–65. https://doi.org/10.29100/JIPI.V7I1.2410

Rizka Gunawan, C., Teknologi Informasi, M., & Malikussaleh, U. (2023). Deteksi Ikan Segar Secara Realtime dengan YOLOv4 menggunakan Metode Convolutional Neural Network. Jurnal Komtika (Komputasi Dan Informatika), 7(1), 1–11. https://doi.org/10.31603/KOMTIKA.V7I1.8986

Suhendra, R., Ayu, R. S., Qaisa, R. S., Juliwardi, I., Astrianda, N., Arisna, P., Syahril, A., & Hasanah, U. (2025). Penerapan CNN Arsitektur VGG16 untuk Deteksi Kesegaran Ikan Berdasarkan Citra Digital. Jurnal Teknologi Informasi, 4(1), 19–25. https://doi.org/10.35308/JTI.V4I1.12301

Suprayitno, E. (2020). Kajian Kesegaran Ikan Di Pasar Tradisional Dan Modern Kota Malang. JFMR (Journal of Fisheries and Marine Research), 4(2), 289–295. https://doi.org/10.21776/UB.JFMR.2020.004.02.13

Wu, C., Jia, H., Huang, M., & Zhu, Q. (2025). Salmon freshness detection based on dual colorimetric label indicator combined with lightweight CNN models. Journal of Food Engineering, 401, 112672. https://doi.org/10.1016/J.JFOODENG.2025.112672

Downloads

PlumX Metrics

Published

31-03-2026

How to Cite

Sabardynata, Arjunaedy Restu, Eko Prasetyo, and Rahmawati Febrifyaning Tias. 2026. “Aplikasi Deteksi Kesegaran Ikan Menggunakan Convolutional Neural Network Dan Random Forest”. Jurnal Saintekom : Sains, Teknologi, Komputer Dan Manajemen 16 (1):27-39. https://doi.org/10.33020/saintekom.v16i1.1027.

Issue

Section

Articles