Texture-Based Classification of Cocoa Pod Diseases and Pests Using GLCM and LDA on Field-Acquired Dataset

Authors

  • Redhitya Wempi Ansori Universitas Nahdlatul Ulama Blitar
  • Abd. Charis Fauzan Universitas Nahdlatul Ulama Blitar
  • Agus Yulianto Universitas Nahdlatul Ulama Blitar

DOI:

https://doi.org/10.33474/infotron.v6i1.24722

Keywords:

Cocoa Pests, Cocoa Pod Diseases, GLCM, LDA, Texture-Based Classification

Abstract

Cocoa pod diseases and pests are major factors that reduce cocoa yield quality and productivity. This study proposes a texture-based image classification approach for identifying cocoa pod conditions, including diseases and pest damage, using the Gray Level Co-Occurrence Matrix (GLCM) for feature extraction and Linear Discriminant Analysis (LDA) for classification. The original dataset, consisting of 420 field-acquired images across four classes (blackpod, healthy, helopeltis, and tupai), was expanded through augmentation to 1,260 images to improve model robustness. Model performance was evaluated using two complementary evaluation schemes: hold-out testing with active data augmentation and stratified k-fold cross validation. Experimental results show that the hold-out evaluation achieved an accuracy of 82.11%, indicating good practical performance when trained on augmented data. Meanwhile, stratified 5-fold cross validation produced an average accuracy of 77.70% with a standard deviation of 4.49%, providing a more conservative estimation of model generalization under limited original data conditions. The results demonstrate that classification performance is strongly influenced by the evaluation strategy and data availability. Overall, the combination of GLCM and LDA proves effective for texture-based classification of cocoa pod diseases and pests and can be implemented in a web-based application to support practical usage. However, further improvements in robustness and generalization are expected through the inclusion of more diverse original images and additional feature representations.

References

R. Erina, “Gagal Panen Bikin Harga Biji Kakao Melonjak, Dunia Terancam Krisis Cokelat,” rmol.id. Accessed: Mar. 24, 2024. [Online]. Available: https://rmol.id/bisnis/read/2024/03/14/613015/gagal-panen-bikin-harga-biji-kakao-melonjak-dunia-terancam-krisis-cokelat

A. R. Respati and S. R. D. Setiawan, “Pecah Rekor, Harga Kakao Naik Dua Kali Lipat sejak Awal Tahun,” kompas.com. Accessed: Mar. 24, 2024. [Online]. Available: https://money.kompas.com/read/2024/03/23/110300626/pecah-rekor-harga-kakao-naik-dua-kali-lipat-sejak-awal-tahun?page=all#google_vignette

D. Andi, “Harga Kakao Melambung Tinggi, Bagaimana Dampaknya Bagi Indonesia?,” industri.kontan.co.id. Accessed: Mar. 24, 2024. [Online]. Available: https://industri.kontan.co.id/news/harga-kakao-melambung-tinggi-bagaimana-dampaknya-bagi-indonesia

V. Zikria, “Analisis Wilayah dan Kontribusi Kakao Terhadap Pembangunan Daerah di Kabupaten Parigi Moutong,” J. Agriuma, vol. 4, no. 1, pp. 22–30, 2022, doi: 10.31289/agri.v4i1.7173.

S. Alim, P. P. Lestari, and R. Rusliyawati, “Sistem Pakar Diagnosa Penyakit Tanaman Kakao Menggunakan Metode Certainty Factor Pada Kelompok Tani Pt Olam Indonesia (Cocoa) Cabang Lampung,” J. Data Min. dan Sist. Inf., vol. 1, no. 1, p. 26, 2020, doi: 10.33365/jdmsi.v1i1.798.

Minarni, E. Novira, E. Yulianti, and G. Yoga Swara, “Sistem Pakar Diagnosa Penyakit dan Hama Tanaman Kakao Dengan Metode Certainty Factor,” SATIN - Sains dan Teknol. Inf., vol. 8, no. 2, pp. 79–88, 2022, doi: 10.33372/stn.v8i2.901.

B. Oduro, O. O. Apenteng, and H. Nkansah, “Assessing the effect of fungicide treatment on cocoa black pod disease in Ghana: Insight from mathematical modeling,” Stat. Optim. Inf. Comput., vol. 8, no. 2, pp. 374–385, 2020, doi: 10.19139/soic-2310-5070-686.

J. Obeng, R. T. Awuah, A. W. Kena, and B. Armooh, “Identification of an aspergillus isolate with potential for biocontrol of phytophthora palmivora, causal agent of black pod disease of cocoa,” J. Crop Prot., vol. 10, no. 2, pp. 375–390, 2021.

D. S. Tan et al., “AuToDiDAC: Automated Tool for Disease Detection and Assessment for Cacao Black Pod Rot,” Crop Prot., vol. 103, no. January 2017, pp. 98–102, 2018, doi: 10.1016/j.cropro.2017.09.017.

A. Anggrestianingsih, A. W. Widodo, and M. T. Furqon, “Implementasi Metode Linear Discriminant Analysis (LDA) Untuk Klasifikasi Pengambilan Mata Kuliah Pilihan,” vol. 3, no. 10. pp. 10337–10343, 2019.

K. Yupie, S. Ajib, and U. W. M. Ibnu, “KLASIFIKASI BATIK KUDUS BERDASARKAN POLA MENGGUNAKAN K-NN DAN,” Semin. Nas. Has. Penenlitian dan Pengabdi. pada Masy. V Tahun 2020, pp. 509–514, 2020.

Muhathir, S. M Hamdani, and D. A. Larasati, “Wayang Image Classification Using SVM Method and GLCM Feature Extraction,” JITE (Journal Informatics Telecommun. Eng., vol. 4, no. 2, pp. 373–382, 2021.

Y. Adhitya, S. W. Prakosa, M. Köppen, and J. S. Leu, “Feature extraction for cocoa bean digital image classification prediction for smart farming application,” Agronomy, vol. 10, no. 11, 2020, doi: 10.3390/agronomy10111642.

I. P. Winda, W. W. Agus, and A. R. Muh, “Pemanfaatan Ciri Gray Level Co-occurrence Matrix ( GLCM ) Untuk Deteksi Melasma Pada Citra Wajah,” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 3, no. 11, pp. 10402–10409, 2019.

D. Grace, F. Christin, and H. Buan, “Penerapan Metode Runge-Kutta Orde 4 pada Pemodelan Penularan Penyakit Cacar Monyet,” vol. 5, no. 2622, pp. 24–26, 2022.

Nurhalimah, P. S. W. I Gede, and B. Fitri, “Klasifikasi Kain Songket Lombok Bedasarkan Fitur GLCM dan Moment Invariant dengan Teknik Pengklasifikasian Linear Discriminant Analysis,” vol. 2, no. 2, pp. 173–183, 2020.

Downloads

Published

2026-05-31

How to Cite

Ansori, R. W., Fauzan, A. C., & Yulianto, A. (2026). Texture-Based Classification of Cocoa Pod Diseases and Pests Using GLCM and LDA on Field-Acquired Dataset. Informatics, Electrical and Electronics Engineering (Infotron), 6(1), 14–27. https://doi.org/10.33474/infotron.v6i1.24722

Issue

Section

Articles