Detection of Surra Disease in Microscopic Images of Horse Blood Using the K-Nearest Neighbor (KNN) Method
DOI:
https://doi.org/10.59934/jaiea.v5i1.1353Keywords:
K-Nearest Neighbor, GLCM, Surra Disease Detection, Blood Microscopic Imaging, HorsesAbstract
Surra's disease is an infectious disease caused by the parasite Trypanosoma evansi and attacks farm animals such as horses, cattle, and buffaloes. This disease can cause serious health problems and even death, resulting in significant economic losses for farmers. This study aims to develop an automatic detection system for Surra disease in horses using the K-Nearest Neighbor (KNN) classification method based on blood microscopic images. The research process includes image preprocessing stages (conversion to grayscale and resize), extraction of texture features using the Gray Level Co-occurrence Matrix (GLCM) method, and classification using the KNN algorithm. The extracted features include contrast, homogeneity, energy, and correlation. Model evaluation was carried out using a confusion matrix and evaluation metrics such as accuracy, precision, recall, and f1-score. Based on the results of the evaluation, the KNN model with a value of k = 1 was able to achieve an accuracy of 85%, with a high recall in the Infected class of 0.95, and an average f1-score of 0.85. These results show that GLCM and KNN methods are effectively used in detecting Surra's disease on blood images, especially in recognizing visual patterns that indicate infection. The developed system is expected to be a fast, efficient, and practical early detection solution in the field, especially in livestock areas such as East Sumba.
Downloads
References
M. R. M. Ndiha, I. A. P. Apsari, and I. M. Dwinata, "Prevalence and Intensity of Trypanosoma Evansi Infection in Horses in Kabaru Village, Rindi District, East Sumba Regency," Bul. Vet. Udayana, vol. 10, no. 1, p. 70, 2020, doi: 10.24843/bulvet.2018.v10.i01.p11.
M. U. Horung and I. P. Sirappa, "The Influence of Breeder Characteristics on Community Interest in Horse Breeding in Napu Village, Haharu District, East Sumba Regency.," J. Peternak. Sabana, vol. 1, no. 1, p. 48, 2022, doi: 10.58300/jps.v1i1.218.
D. Hutagalung and Z. Paulanda, "Early Prevention of Cattle Disease with Expert Systems," J. Tekensos, vol. 2, no. 1, 2020.
N. S. Dharmawan, I. G. Mahardika, U. Y. A. Praing, and L. D. Anggreni, "Biochemical Profile of Horse Blood Tracked with Surra Disease in East Sumba, East Nusa Tenggara, Indonesia," J. Vet., vol. 25, no. 2, pp. 235–242, 2024, doi: 10.19087/jveteriner.2024.25.2.235.
E. Safitri, R. Heppy Ria Sibarani, Y. SM Sidabutar, and D. Kiswanto, "Classification of Grape Leaf Disease Based on Image Using the K-Nearest Neighbors (Knn) Method," JATI (Journal of Mhs. Tek. Inform., vol. 8, no. 6, pp. 12633–12642, 2024, doi: 10.36040/jati.v8i6.12004.
A. A. D. Halim and S. Anraeni, "Analysis of Pneumonia Disease Image Dataset Classification Using the K-Nearest Neighbor (KNN) Method," Indones. J. Data Sci., vol. 2, no. 1, pp. 01–12, 2021, doi: 10.33096/ijodas.v2i1.23.
A. Astati, M. Mursidin, R. Rusny, H. I. Susanti, A. Hifizah, and A. Qurniawan, "Public Perception of the Benefits of Horse Breeding in Jeneponto Regency," Anoa J. Anim. Husb., vol. 3, no. 1, pp. 1–9, 2024, doi: 10.24252/anoa.v3i1.44387.
M. F. Akbarollah, W. Wiyanto, D. Ardiatma, and A. T. Zy, "Application of the K-Nearest Neighbor Algorithm in the Classification of Heart Disease," J. Comput. Syst. Informatics, vol. 4, no. 4, pp. 850–860, 2023, doi: 10.47065/josyc.v4i4.4071.
U. Riyanto, "Comparative Analysis of Naive Bayes Algorithm and Support Vector Machine in Classifying the Number of Readers of Online Articles," IF (Inform., vol. 2, no. 2, pp. 62–72, 2019, doi: 10.31000/.v2i2.1521.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.







