EARLY DETECTION OF ROT IN THAI PAPAYA (CARICA PAPAYA) USING THE K-NN METHOD

Penulis

  • Agus Prayitno Universitas Widya Kartika

DOI:

https://doi.org/10.33480/techno.v22i1.6522

Kata Kunci:

classification, K-NN, rotten papaya, thai papaya

Abstrak

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.

Referensi

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

##submission.downloads##

Diterbitkan

2025-03-26

Cara Mengutip

Prayitno, A. (2025). EARLY DETECTION OF ROT IN THAI PAPAYA (CARICA PAPAYA) USING THE K-NN METHOD. Jurnal Techno Nusa Mandiri, 22(1), 99–107. https://doi.org/10.33480/techno.v22i1.6522