Implementation of Naïve Bayes for Fish Freshness Identification Based on Image Processing
Abstract
Consumption of fish as a food requirement for the fulfillment of community nutrition is increasing. This was followed by an increase in the amount of fish caught that were sold at fish markets. Market managers must be concerned about the dispersion of huge amounts of fish in the market in order to determine the freshness of the fish before it reaches the hands of consumers. So far, market managers have relied on traditional ways to determine the freshness of fish in circulation. The issue is that traditional solutions, such as the use expert assessment, demand a human physique that quickly experiences fatigue. Technological developments can be a solution to these problems, such as utilizing image processing techniques classification method. Image processing with the use of color features is an effective method to determine the freshness of fish. The classification method used in this research is the Naive Bayes method. This study aims to identify the freshness of fish based on digital images and determine the performance level of the method. The identification process uses the RGB color value feature of fisheye images. The stages of fish freshness identification include cropping, segmentation, RGB value extraction, training, and testing. The classification data are 210 RGB value of extraction images which are divided into 147 data for training and 63 data for testing. The research data were divided into fresh class, started to rot class, and rotted class. The research shows that the Naive Bayes algorithm can be used in the process of identifying the freshness level of fish based on fisheye images with a test accuracy rate of 79.37%.
Downloads
References
M. Saberioon, A. Gholizadeh, P. Cisar, A. Pautsina, and J. Urban, “Application of machine vision systems in aquaculture with emphasis on fish: state-of-the-art and key issues,” Rev. Aquac., vol. 9, no. 4, pp. 369–387, 2017, doi: 10.1111/raq.12143.
J. Guillen et al., “Global seafood consumption footprint,” Ambio, vol. 48, no. 2, pp. 111–122, 2019, doi: 10.1007/s13280-018-1060-9.
K. U. Henggu, Y. R. Tega, F. Meiyasa, S. Ndahawali, N. Tarugan, and Y. Nurdiyansyah, “Fish Consumption Analysis of East Sumba Coastal Communities,” Bul. Ilm. “MARINA” Sos. Ekon. Kelaut. dan Perikan., vol. 7, no. 2, pp. 103–114, 2021.
Samsir, Kusmanto, Abdul Hakim Dalimunthe, Rahmad Aditiya, and Ronal Watrianthos, “Implementation Naïve Bayes Classification for Sentiment Analysis on Internet Movie Database,” Building of Informatics, Technology and Science (BITS), vol. 4, no. 1, pp. 1–6, Jun. 2022
P. K. Prabhakar, S. Vatsa, P. P. Srivastav, and S. S. Pathak, “A comprehensive review on freshness of fish and assessment: Analytical methods and recent innovations,” Food Res. Int., vol. 133, no. March, p. 109157, 2020, doi: 10.1016/j.foodres.2020.109157.
M. K. Dutta, A. Issac, N. Minhas, and B. Sarkar, “Image processing based method to assess fish quality and freshness,” J. Food Eng., vol. 177, pp. 50–58, 2016, doi: 10.1016/j.jfoodeng.2015.12.018.
N. Sengar, M. K. Dutta, and B. Sarkar, “Computer vision based technique for identification of fish quality after pesticide exposure,” Int. J. Food Prop., vol. 20, no. 2, pp. 2192–2206, 2017, doi: 10.1080/10942912.2017.1368553.
A. Taheri-Garavand, A. Nasiri, A. Banan, and Y. D. Zhang, “Smart deep learning-based approach for non-destructive freshness diagnosis of common carp fish,” J. Food Eng., vol. 278, no. January, p. 109930, 2020, doi: 10.1016/j.jfoodeng.2020.109930.
R. Watrianthos, M. Giatman, W. Simatupang, R. Syafriyeti, and N. K. Daulay, “Analisis Sentimen Pembelajaran Campuran Pada Twitter Data Menggunakan Algoritma Naïve Bayes,” Analisis Sentimen Pembelajaran Campuran Pada Twitter Data Menggunakan Algoritma Naïve Bayes, vol. 6, no. 1, pp. 166–170, 2022, doi: http://dx.doi.org/10.30865/mib.v6i1.3383.
T. Wu, L. Yang, J. Zhou, D. C. Lai, and N. Zhong, “An improved nondestructive measurement method for salmon freshness based on spectral and image information fusion,” Comput. Electron. Agric., vol. 158, no. October 2018, pp. 11–19, 2019, doi: 10.1016/j.compag.2019.01.039.
S. Grassi, S. Benedetti, M. Opizzio, E. Di Nardo, and S. Buratti, “Meat and fish freshness assessment by a portable and simplified electronic nose system (Mastersense),” Sensors (Switzerland), vol. 19, no. 14, 2019, doi: 10.3390/s19143225.
H. zhi Chen, M. Zhang, B. Bhandari, and C. hui Yang, “Novel pH-sensitive films containing curcumin and anthocyanins to monitor fish freshness,” Food Hydrocoll., vol. 100, no. October 2019, p. 105438, 2020, doi: 10.1016/j.foodhyd.2019.105438.
A. Kalista, A. Redjo, and U. Rosidah, “Aplication of Image Processing to Determine The Freshness of Tilapia Fish (Oreochromis niloticus),” J. Pengolah. Has. Perikan. Indones., vol. 22, no. 2, pp. 229–235, 2019, doi: 10.17844/jphpi.v22i2.27364.
H. Fitriyah, D. Syauqy, and F. A. Susilo, “Automatic Detection of Tongkol Fish (Euthynnus Affinis) Freshness Level Based on Eye Image Using Binary Similarity,” J. Teknol. Inf. dan Ilmu Komput., vol. 7, no. 5, pp. 879–885, 2020, doi: 10.25126/jtiik.202073839.
T. Arsatria, K. Munadi, and F. Arnia, “Thermal Image Processing for Region of Interest (ROI) Identification and Freshness Detection of Tilapia (Oreochromis Niloticus),” J. Karya Ilm. Tek. Elektro, vol. 5, no. 3, pp. 20–24, 2020.
Dwiyanto, Saleh, Iksal, and S. Nugraha, “Fish Freshness Detector Using K-Nearest Neighbor Method Based on Eye Color Based on ATMega328,” J. PROSISKO, vol. 5, no. 2, pp. 127–135, 2018.
G. D. K. Sandi, D. Syauqy, and R. Maulana, “Milkfish Freshness Detection System Based on Odor and Color of Meat Based on Mq135 and Tcs3200 Sensors Using Naive Bayes Method,” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 2548, no. 10, p. 964X, 2020, [Online]. Available: http://j-ptiik.ub.ac.id.
Adam, Agustiawan, and Marzuarman, “Neural Network Implementation to Determine the Freshness Level of Tuna Meat,” Inovtek Polbeng, vol. 9, no. 1, pp. 1–7, 2019, doi: 10.35314/ip.v9i1.854.
Indrabayu, M. Niswar, and A. Aman, “Milkfish Freshness Detection System Using Image,” J. Infotel, vol. 8, no. 2, pp. 170–179, 2016.
R. Umar, I. Riadi, and Purwono, “Classification of Programmer Performance on Social Media Activities with the Stochastic Gradient Descent Method,” Jointecs, vol. 5, no. 2, pp. 55–60, 2020, doi: 10.29406/cbn.v4i01.2042.
R. Umar, I. Riadi, A. Hanif, and S. Helmiyah, “Identification of speaker recognition for audio forensic using k-nearest neighbor,” Int. J. Sci. Technol. Res., vol. 8, no. 11, pp. 3846–3850, 2019.
S. Saputra, T. D. Rahmawati, and N. Safrudin, “Development of puzzle square as interactive learning media using macromedia flash 8,” JINoP (Jurnal Inov. Pembelajaran), vol. 6, no. 2, pp. 124–135, 2020, doi: 10.22219/jinop.v6i2.12096.
R. Umar, I. Riadi, and M. Miladiah, “Authenticity Identification System for Rupiah Banknotes Using the K-Means Clustering Method,” Techno.Com, vol. 17, no. 2, pp. 179–185, 2018, doi: 10.33633/tc.v17i2.1681.
A. Salman et al., “Fish species classification in unconstrained underwater environments based on deep learning,” Limnol. Oceanogr. Methods, vol. 14, no. 9, pp. 570–585, 2016, doi: 10.1002/lom3.10113.
A. Yudhana, Sunardi, and S. Saifullah, “Segmentation comparing eggs watermarking image and original image,” Bull. Electr. Eng. Informatics, vol. 6, no. 1, pp. 47–53, 2017, doi: 10.11591/eei.v6i1.595.
S. Saputra, A. Yudhana, and R. Umar, “Fish Freshness Identification Using Digital Image-Based KNN Algorithm,” vol. 10, no. 1, pp. 1–9, 2022, doi: 10.32832/kreatif.v10i1.6845.
H. Azarmdel, S. S. Mohtasebi, A. Jafari, and A. Rosado Muñoz, “Developing an orientation and cutting point determination algorithm for a trout fish processing system using machine vision,” Comput. Electron. Agric., vol. 162, no. May, pp. 613–629, 2019, doi: 10.1016/j.compag.2019.05.005.
R. A. Surya, A. Fadlil, and A. Yudhana, “Identification of Pekalongan Batik Images Using Backpropagation Method,” J. Phys. Conf. Ser., vol. 1373, no. 1, 2019, doi: 10.1088/1742-6596/1373/1/012049.
A. Roihan, P. A. Sunarya, and A. S. Rafika, “Utilization of Machine Learning in Various Fields: Review paper,” IJCIT (Indonesian J. Comput. Inf. Technol., vol. 5, no. 1, pp. 75–82, 2020, doi: 10.31294/ijcit.v5i1.7951.
Y. R. Prayogi, C. L. Wibisono, and A. H. Abror, “Freshness Detection of Milkfish Based on Digital Image Processing,” REMIK (Riset dan E-Jurnal Manaj. Inform. Komputer), vol. 4, no. 1, p. 53, 2019, doi: 10.33395/remik.v4i1.10228.
F. Liantoni and H. Nugroho, “Classification of Herbal Leaves Using the Naïve Bayes Classifier and Knearest Neighbor Method,” J. Simantec, vol. 5, no. 1, pp. 9–16, 2015, doi: https://doi.org/10.21107/simantec.v5i1.
M. M. Maga and A. A. Pekuwali, “Comparison of the Naïve Bayes Classifier Method with K-Nearest Neighbors in Classifying Apples,” Bisnis dan Komput., vol. 1, no. 3, pp. 107–116, 2021, [Online]. Available: https://journal.unpak.ac.id/index.php/jubikom.
H. Annur, “Classification of the Poor Using the Naive Bayes Method,” Ilk. J. Ilm., vol. 10, no. 2, pp. 160–165, 2018, doi: 10.33096/ilkom.v10i2.303.160-165.
A. Yudhana, I. Riadi, and F. Ridho, “DDoS Classification Using Neural Network and Naïve Bayes Methods for Network Forensics,” Int. J. Adv. Comput. Sci. Appl., vol. 9, no. 11, pp. 177–183, 2018.
Sunardi, A. Yudhana, and S. Saifullah, “Identity analysis of egg based on digital and thermal imaging: Image processing and counting object concept,” Int. J. Electr. Comput. Eng., vol. 7, no. 1, pp. 200–208, 2017, doi: 10.11591/ijece.v7i1.pp200-208.
R. Umar, I. Riadi, and D. A. Faroek, “Classification Based on Machine Learning Methods for Identification of Image Matching Achievements,” J. RESTI (Rekayasa Sist. dan Teknol. Informasi), vol. 6, no. 2, pp. 198–206, 2022, doi: https://doi.org/10.29207/resti.v6i2.3826.
A. Yudhana, Sunardi, and S. Saifullah, “Wavelet Compression For Egg Identification,” Ilk. J. Ilm., vol. 8, no. Desember, pp. 190–196, 2016.
R. Umar, I. Riadi, and A. Hanif, “Sound Pattern Shape Analysis Using Mel-Frequencey Cepstral Coefficients (MFCC) Feature Extraction,” CogITo Smart J., vol. 4, no. 2, pp. 294–304, 2018, doi: 10.31154/cogito.v4i2.130.294-304.
A. Yudhana, D. Sulistyo, and I. Mufandi, “GIS-based and Naïve Bayes for nitrogen soil mapping in Lendah, Indonesia,” Sens. Bio-Sensing Res., vol. 33, 2021, doi: 10.1016/j.sbsr.2021.100435.
Z. Zhang, “Introduction to machine learning: K-nearest neighbors,” Ann. Transl. Med., vol. 4, no. 11, pp. 1–7, 2016, doi: 10.21037/atm.2016.03.37.
Copyright (c) 2022 Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi)
This work is licensed under a Creative Commons Attribution 4.0 International License.
Copyright in each article belongs to the author
- The author acknowledges that the RESTI Journal (System Engineering and Information Technology) is the first publisher to publish with a license Creative Commons Attribution 4.0 International License.
- Authors can enter writing separately, arrange the non-exclusive distribution of manuscripts that have been published in this journal into other versions (eg sent to the author's institutional repository, publication in a book, etc.), by acknowledging that the manuscript has been published for the first time in the RESTI (Rekayasa Sistem dan Teknologi Informasi) journal ;