Milkfish Freshness Classification Using Convolutional Neural Networks Based on Resnet50 Architecture

Maulana Malik Ibrahim Al-Ghiffary, Christy Atika Sari, Eko Hari Rachmawanto, Noorayisahbe Mohd Yacoob, Nur Ryan Dwi Cahyo, Rabei Raad Ali


Milkfish (Chanos chanos) had become the main commodity in three major cities in Indonesia, contributed at least 77 thousand tons of aquaculture production in 2021. The quality of fish is determined based on the level of freshness carried out in the sorting process, the sorting process is generally done by evaluating physical characteristics of the fish. However, this method is still considered less efficient and economical because the ability to classify the freshness level of fish can vary for each individual. In this study, by utilizing deep learning, a classification method for milkfish freshness level classification with ResNet50 architecture is proposed, the proposed method is purposed to overcome the previously stated problems, thus creating an efficient and economical system. By creating an efficient system, milkfish sorting process can be carried out quicker and more accurately. Using personal dataset divided into four different classes, the proposed method produces excellent result


milkfish; CNN; ResNet50; Adam Optimizer

Full Text:



Badan Pusat Statistik Indonesia, “Produksi Perikanan Budidaya Menurut Komoditas Utama (Ton),” 2019. (accessed Sep. 08, 2023).

Badan Pusat Statistik Indonesia, “Produksi Perikanan Budidaya Menurut Provinsi dan Jenis Budidaya (Ton),” 2021. (accessed Sep. 08, 2023).

Badan Pusat Statistik Indonesia, “Produksi Perikanan Laut Yang Dijual Di TPI (Ton),” 2021. (accessed Sep. 08, 2023).

K. Wang et al., “Rapid classification of the freshness grades of sea bass (Lateolabrax japonicus) fillets using a portable Raman spectrometer with machine learning method,” Microchemical Journal, vol. 192, Sep. 2023, doi: 10.1016/j.microc.2023.108948.

Z. Jia, M. Li, C. Shi, J. Zhang, and X. Yang, “Determination of salmon freshness by computer vision based on eye color,” Food Packag Shelf Life, vol. 34, Dec. 2022, doi: 10.1016/j.fpsl.2022.100984.

Kaladevi A.C., Perumal Ramya, and Priya K. Anantha, “Detection of Sardine Fish Freshness Using Deep Convolution Neural Network,” Annals of R.S.C.B., vol. 25, no. 4, pp. 16063–16070, Apr. 2021, [Online]. Available:

E. Prasetyo, R. Purbaningtyas, and R. D. Adityo, “Performance evaluation of pre-trained convolutional neural network for milkfish freshness classification,” in Proceeding - 6th Information Technology International Seminar, ITIS 2020, Institute of Electrical and Electronics Engineers Inc., Oct. 2020, pp. 30–34. doi: 10.1109/ITIS50118.2020.9321049.

M. F. Hanifa et al., “Fishku Apps: Fishes Freshness Detection Using CNN With MobilenetV2,” IJCCS (Indonesian Journal of Computing and Cybernetics Systems), vol. 17, no. 1, p. 67, Feb. 2023, doi: 10.22146/ijccs.80049.

M. Janakidevi, T. Prasad, and P. Udayaraju, “An Improved Deep Convolutional Neural Network (DCNN) for finding the Fish Freshness,” 2021. [Online]. Available:

H. Mohammadi Lalabadi, M. Sadeghi, and S. A. Mireei, “Fish freshness categorization from eyes and gills color features using multi-class artificial neural network and support vector machines,” Aquac Eng, vol. 90, Aug. 2020, doi: 10.1016/j.aquaeng.2020.102076.

P. Hridayami, I. K. G. D. Putra, and K. S. Wibawa, “Fish species recognition using VGG16 deep convolutional neural network,” Journal of Computing Science and Engineering, vol. 13, no. 3, pp. 124–130, Sep. 2019, doi: 10.5626/JCSE.2019.13.3.124.

D. Štifanić, J. Musulin, Car Zlatan, and Čep Robert, “Use of Convolutional Neural Network for Fish Species Classification,” Pomorski zbornik, vol. 59, pp. 131–142, 2020, Accessed: Sep. 17, 2023. [Online]. Available:

M. B. Hossain, S. M. H. S. Iqbal, M. M. Islam, M. N. Akhtar, and I. H. Sarker, “Transfer learning with fine-tuned deep CNN ResNet50 model for classifying COVID-19 from chest X-ray images,” Inform Med Unlocked, vol. 30, Jan. 2022, doi: 10.1016/j.imu.2022.100916.

B. R. Manju and M. R. Sneha, “ECG Denoising Using Wiener Filter and Kalman Filter,” in Procedia Computer Science, Elsevier B.V., 2020, pp. 273–281. doi: 10.1016/j.procs.2020.04.029.

O. N. Belaid and M. Loudini, “Classification of brain tumor by combination of pre-trained VGG16 CNN,” Journal of Information Technology Management, vol. 12, no. 2, pp. 13–25, 2020, doi: 10.22059/JITM.2020.75788.

A. Yudhana, R. Umar, and S. Saputra, “Fish Freshness Identification Using Machine Learning: Performance Comparison of k-NN and Naïve Bayes Classifier,” Journal of Computing Science and Engineering, vol. 16, no. 3, pp. 153–164, Sep. 2022, doi: 10.5626/JCSE.2022.16.3.153.

E. H. Rachmawanto et al., “Eggs classification based on egg shell image using k-nearest neighbors classifier,” in Proceedings - 2020 International Seminar on Application for Technology of Information and Communication: IT Challenges for Sustainability, Scalability, and Security in the Age of Digital Disruption, iSemantic 2020, Institute of Electrical and Electronics Engineers Inc., Sep. 2020, pp. 50–54. doi: 10.1109/iSemantic50169.2020.9234305.

X. Jiang, B. Hu, S. Chandra Satapathy, S. H. Wang, and Y. D. Zhang, “Fingerspelling Identification for Chinese Sign Language via AlexNet-Based Transfer Learning and Adam Optimizer,” Sci Program, vol. 2020, 2020, doi: 10.1155/2020/3291426.

A. E. Maxwell, T. A. Warner, and L. A. Guillén, “Accuracy assessment in convolutional neural network-based deep learning remote sensing studies—part 1: Literature review,” Remote Sensing, vol. 13, no. 13. MDPI AG, Jul. 01, 2021. doi: 10.3390/rs13132450.



  • There are currently no refbacks.

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

Advance Sustainable Science, Engineering and Technology (ASSET)

E-ISSN: 2715-4211
Published by Science and Technology Research Centre

Universitas PGRI Semarang, Indonesia