EARLY DETECTION OF ROT IN THAI PAPAYA (CARICA PAPAYA) USING THE K-NN METHOD
DOI:
https://doi.org/10.33480/techno.v22i1.6522Keywords:
classification, K-NN, rotten papaya, thai papayaAbstract
Determining the category of a plant or fruit involves several criteria. One of the easiest methods to use is morphological criteria, which entails studying the external structure that can be directly observed. However, this approach cannot be regarded as a fixed standard since people's interpretations may vary. To address this, a system was developed to assess the ripeness of Thai papaya fruit, utilizing image processing and the K-Nearest Neighbor (KNN) method. This study analyzes a data set to detect rotten papaya fruit, which is expected to help consumers recognize papaya fruit that is purchased in a perfectly ripe condition, not ripe with certain parts that are rotting. The indicator used to determine the category is the color of the skin of Thai Papaya fruit with an ROI of 600 pixels x 300 pixels by finding the mean RGB value and then calculating it using the Euclidean distance formula. From the results of these calculations, it is expected to get a classification using K-Nearest Neighbor (KNN) to get an image pattern of the level of rottenness on the surface of the papaya. Therefore, by improving the RGB image eliminating noise in the papaya image, and using the K-NN classification of the image pattern obtained from the research results from the sampling data, an accuracy level of 80% was obtained with a range of mean R values: 130,671-169,630, mean G: 106,891-131,895, and mean B: 61,119-100,776 which came from 120 data.
References
Afifah, L. (2020, November 23). K-Nearest Neighbor (KNN) Algorithm for Classification. Retrieved June 11, 2021, from: https://ilmudatapy.com/algoritma-k-nearest-neighbor-knn-untuk-klasifikasi/
Dihni, V. A. (2022, June 7). Indonesia Enters the List of Countries Producing the Largest Papaya Fruit in the World. Retrieved March 8, 2022, from:https://databoks.katadata.co.id/datapublish/2022/06/07/indonesia-masuk-daftar-negara-penghasil-buah-pepaya-terbesar-di-dunia
Malik Namus Akbar, F. (2024, f February 1). Metode KNN (K-Nearest Neighbor) untuk Menentukan Kualitas Air. 18(1).
Margaretha, J., & Voutama, A. (2023). Perancangan Sistem Informasi Pemesanan Tiket Konser Musik Berbasis Web Menggunakan Unified Modeling Language (UML). JOINS (Journal of Information System), 8(1), 20–31. https://doi.org/10.33633/joins.v8i1.7107
Mufida, W. (2022). Analisis Letak Tracking Di Area Arteri Karotis Internal Dan Arkus Aorta Pada Pemeriksaan Ct Scan Angiografi (Cta) Serebral Di Instalasi Radiologi Rsud Salatiga. 1.
Oktriwina, A. S. (2021, December 15). What is a Class Diagram and Its Function in Programming. Retrieved November 11, 2021, from: https://glints.com/id/lowongan/class-diagram-adalah/#.Yw4N7HZBzDd
Papaya Content and Benefits for Health and Beauty. (2020, August 10). Retrieved June 19, 2021, from:https://www.chilibeli.com/blog/sayur-dan-buah/kandungan-manfaat-buah-pepaya
Putra, A. S. (2023). Identifikasi Kematangan Buah Jeruk Medan Menggunakan Metode KNN (K-Nearest Neighbor) Berbasis Red, Green, Blue (RGB). 10.
Putra, P., H Pardede, A. M., & Syahputra, S. (2022). ANALISIS METODE K-NEAREST NEIGHBOUR (KNN) DALAM KLASIFIKASI DATA IRIS BUNGA. Jurnal Teknik Informatika Kaputama (JTIK), 6(1).
Rabbani, H. A., Rahman, M. A., & Rahayudi, B. (2021). Perbandingan Ruang Warna RGB dan HSV dalam Klasifikasi Kematangan Biji Kopi (Vol. 5, Issue 6). http://j-ptiik.ub.ac.id
Rezkia, S. M. (2021, July 13). Types of Machine Learning Classification Algorithms That Are Important to Know. Retrieved May 15, 2022, from:https://www.dqlab.id/macam-algoritma-klasifikasi-machine-learning-yang-penting-untuk-diketahui
Rivan, Muhammad Ezar Al, & Suherman, Jessica (2020, October 1). Determination of California Papaya Fruit Quality (Carica Papaya L.) Using Fuzzy Mamdani. Retrieved April 12, 2022, from: https://media.neliti.com/media/publications/357698-penentuan-mutu-buah-pepaya-california-ca-01d5a036.pdf
Setiawan, R. (2021, October 30). What is Data Mining and How is the Method? Retrieved May 10, 2022, from:https://www.dicoding.com/blog/apa-itu-data-mining
What is PyCharm? Getting to Know PyCharm Python, Its Disadvantages, and Advantages. (2021, May 24). Retrieved February 20, 2022, from:https://appkey.id/pembuatan-aplikasi/mobile-programming/pycharm-python/
Wibowo, P. T. (2021, November 9). What is UML? Retrieved April 7, 2022 from: https://wartaekonomi.co.id/read373179/apa-itu-uml
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Agus Prayitno

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
The copyright of any article in the TECHNO Nusa Mandiri Journal is fully held by the author under the Creative Commons CC BY-NC license. The copyright in each article belongs to the author. Authors retain all their rights to published works, not limited to the rights set out on this page. The author acknowledges that Techno Nusa Mandiri: Journal of Computing and Information Technology (TECHNO Nusa Mandiri) is the first to publish with a Creative Commons Attribution 4.0 International license (CC BY-NC). Authors can enter articles separately, manage non-exclusive distribution, from manuscripts that have been published in this journal into another version (for example: sent to author affiliation respository, publication into books, etc.), by acknowledging that the manuscript was published for the first time in Techno Nusa Mandiri: Journal of Computing and Information Technology (TECHNO Nusa Mandiri); The author guarantees that the original article, written by the stated author, has never been published before, does not contain any statements that violate the law, does not violate the rights of others, is subject to the copyright which is exclusively held by the author. If an article was prepared jointly by more than one author, each author submitting the manuscript warrants that he has been authorized by all co-authors to agree to copyright and license notices (agreements) on their behalf, and agrees to notify the co-authors of the terms of this policy. Techno Nusa Mandiri: Journal of Computing and Information Technology (TECHNO Nusa Mandiri) will not be held responsible for anything that may have occurred due to the author's internal disputes.