Jusikom : Jurnal Sistem Komputer Musirawas
Vol 10 No 1 (2025): Jusikom : Jurnal Sistem Komputer Musirawas JUNI

PENERAPAN ALGORITMA K-NEAREST NEIGHBOR UNTUK KLASIFIKASI TINGKAT KEMATANGAN BUAH ALPUKAT BERDASARKAN WARNA

susanti, tri (Unknown)
Sasmita, Sasmita (Unknown)



Article Info

Publish Date
06 Aug 2025

Abstract

This research develops an avocado fruit ripeness classification system using the K-Nearest Neighbor algorithm based on color feature extraction. Data was collected from 150 Mentega variety avocado samples with three ripeness categories: unripe, semi-ripe, and ripe. The classification process involved image preprocessing, extraction of RGB and HSV color components, and implementation of the KNN algorithm. Results showed the highest accuracy of 95.56% at k=9 using Euclidean Distance metric, with Mean R and Mean H components having the strongest correlation to avocado ripeness levels. The system was successfully implemented with a user-friendly graphical interface, enabling automatic classification with a processing time of 1.2 seconds per image. Compared to other classification methods such as Random Forest and SVM, KNN showed the best performance in modeling avocado color features, offering an effective and efficient solution for the Pagar Alam City Agriculture Department in determining avocado fruit ripeness levels.

Copyrights © 2025






Journal Info

Abbrev

jusikom

Publisher

Subject

Computer Science & IT

Description

JUSIKOM is a place of information in the form of research results, literature studies, ideas, application of theory and critical analysis studies in the fields of research in the fields of Computer Systems, Computer Science, and Electronics. Focus and Scope: Embedded system, Intelligent control ...