Yana, Baktiar Yudha
Unknown Affiliation

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Penerapan Algoritma K-Nearest Neighbor Dalam Klasifikasi Penyakit Daun Padi Menggunakan Ekstraksi HOG Yana, Baktiar Yudha; Via, Yisti Vita; Nurlaili, Afina Lina
Algoritme Jurnal Mahasiswa Teknik Informatika Vol 6 No 1 (2025): Oktober 2025 || Algoritme Jurnal Mahasiswa Teknik Informatika
Publisher : Program Studi Teknik Informatika Universitas Multi Data Palembang

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.35957/algoritme.v6i1.13306

Abstract

Rice (Oryza sativa) is a strategic Indonesian food commodity that is susceptible to leaf disease attacks, causing decreased productivity and even crop failure. Conventional detection methods based on visual observation have limited accuracy and consistency, so an automated approach based on computer vision technology is needed for more effective early detection. This study applies the K-Nearest Neighbors (KNN) algorithm in rice leaf disease classification using Histogram of Oriented Gradients (HOG) feature extraction. A secondary dataset from Kaggle of 1,400 images covers four categories: Bacterial Leaf Blight, Brown Spot, Leaf Blast, and Healthy. The methodology includes image preprocessing (resize, augmentation, grayscale conversion, normalization), HOG feature extraction, and KNN classification with evaluation on a training-test data ratio of 85:15. The results show that KNN with k=2 achieves optimal performance at a ratio of 85:15 with an accuracy of 90.24%, a precision of 90.27%, a recall of 90.24%, an F1-score of 90.23%, and an efficient computational time of 3.34 seconds. The combination of HOG and KNN is proven to be effective for the automatic classification of rice leaf diseases with high accuracy and good computational efficiency.