Optimasi Hyperparameter Menggunakan Grid Search untuk Klasifikasi Penyakit Daun Cabai Berbasis Fitur HOG – SVM
DOI:
https://doi.org/10.24252/instek.v11i2.73000Keywords:
penyakit daun cabai, klasifikasi citra, Histogram of Oriented Gradients, Support Vector Machine, Grid SearchAbstract
Tanaman cabai merupakan komoditas hortikultura penting di Indonesia, tetapi produktivitasnya dapat terganggu oleh penyakit daun. Identifikasi penyakit secara manual melalui pengamatan visual membutuhkan waktu dan bergantung pada pengalaman pemeriksa. Penelitian ini bertujuan mengoptimalkan hyperparameter model Histogram of Oriented Gradients–Support Vector Machine (HOG-SVM) menggunakan GridSearchCV dengan 3-fold cross-validation untuk mengklasifikasikan citra daun cabai ke dalam tiga kelas, yaitu Daun Sehat, Leaf Curl, dan Yellowish. Penelitian menggunakan 1.200 citra yang dibagi menjadi data pelatihan, validasi, dan pengujian dengan proporsi yang sama untuk setiap pendekatan. Selain HOG-SVM, penelitian ini mengevaluasi kombinasi fitur HOG dan warna Hue, Saturation, Value (HSV) pada SVM (HOG+HSV-SVM), serta Vanilla Convolutional Neural Network (CNN) menggunakan citra grayscale dan RGB. Kinerja model dievaluasi berdasarkan accuracy, precision, recall, dan F1-score. Hasil optimasi HOG-SVM menghasilkan rata-rata cross-validation accuracy sebesar 97,38%, dengan accuracy dan F1-score pada data pengujian masing-masing sebesar 96,11% dan 96,12%. HOG+HSV-SVM memperoleh accuracy pengujian sebesar 96,67% dan F1-score sebesar 96,68%. Sementara itu, Vanilla CNN memperoleh F1-score sebesar 95,54% pada citra grayscale dan 98,33% pada citra RGB. Hasil ini menunjukkan bahwa HOG-SVM memiliki kinerja yang relatif sebanding dengan CNN grayscale, sedangkan CNN dengan masukan RGB memperoleh skor tertinggi dalam eksperimen ini. Temuan tersebut mengindikasikan bahwa informasi warna berpotensi membantu klasifikasi penyakit daun cabai.
Downloads
References
[1] R. Rosalina and A. Wijaya, “Pendeteksian Penyakit pada Daun Cabai dengan Menggunakan Metode Deep Learning,” J. Tek. Inform. dan Sist. Inf., vol. 6, no. 3, pp. 452–461, 2020, doi: 10.28932/jutisi.v6i3.2857.
[2] M. L. Sa’idi and L. N. Huda, “Deteksi penyakit pada tanaman cabai menggunakan teknologi pengolahan citra dan machine learning,” J. Informatics Comput. Res., vol. 1, no. 1, pp. 1–5, 2024.
[3] L. C. Ngugi, M. Abelwahab, and M. Abo-Zahhad, “Recent advances in image processing techniques for automated leaf pest and disease recognition – A review,” Inf. Process. Agric., vol. 8, no. 1, pp. 27–51, 2021, doi: 10.1016/j.inpa.2020.04.004.
[4] Y. Fu, L. Guo, and F. Huang, “A lightweight CNN model for pepper leaf disease recognition in a human palm background,” Heliyon, vol. 10, no. 12, p. e33447, 2024, doi: 10.1016/j.heliyon.2024.e33447.
[5] V. K. Pratap and N. Suresh Kumar, “High-precision multiclass classification of chili leaf disease through customized EffecientNetB4 from chili leaf images,” Smart Agric. Technol., vol. 5, no. April, p. 100295, 2023, doi: 10.1016/j.atech.2023.100295.
[6] D. V. Leite, A. V. de Brito, G. G. Faccioli, and G. Haddad Souza Vieira, “Deep Learning Models for Detection and Severity Assessment of Cercospora Leaf Spot (Cercospora capsici) in Chili Peppers Under Natural Conditions,” Plants, vol. 14, no. 13, 2025, doi: 10.3390/plants14132011.
[7] N. Dalal and B. Triggs, “Histograms of Oriented Gradients for Human Detection,” in 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’05), IEEE, 2005, pp. 886–893. doi: 10.1109/CVPR.2005.177.
[8] T. Q. Bao, N. T. T. Kiet, T. Q. Dinh, and H. X. Hiep, “Plant species identification from leaf patterns using histogram of oriented gradients feature space and convolution neural networks,” J. Inf. Telecommun., vol. 4, no. 2, pp. 140–150, 2020, doi: 10.1080/24751839.2019.1666625.
[9] V. M. Ochango, G. M. Wambugu, and J. G. Ndia, “Feature Extraction using Histogram of Oriented Gradients for Image Classification in Maize Leaf Diseases,” Int. J. Comput. Inf. Technol., vol. 11, no. 2, pp. 54–63, 2022.
[10] J. Kainat, S. S. Ullah, F. S. Alharithi, R. Alroobaea, S. Hussain, and S. Nazir, “Blended Features Classification of Leaf-Based Cucumber Disease Using Image Processing Techniques,” Complexity, vol. 2021, 2021, doi: 10.1155/2021/9736179.
[11] F. Solihin, M. Syarief, E. M. S. Rochman, and A. Rachmad, “Comparison of Support Vector Machine (SVM), K-Nearest Neighbor (K-NN), and Stochastic Gradient Descent (SGD) for Classifying Corn Leaf Disease based on Histogram of Oriented Gradients (HOG) Feature Extraction,” Elinvo (Electronics, Informatics, Vocat. Educ., vol. 8, no. 1, pp. 121–129, 2023, doi: 10.21831/elinvo.v8i1.55759.
[12] Y. Sari, A. R. Baskara, and R. Wahyuni, “Classification of Chili Leaf Disease Using the Gray Level Co-occurrence Matrix (GLCM) and the Support Vector Machine (SVM) Methods,” 2021 6th Int. Conf. Informatics Comput. ICIC 2021, 2021, doi: 10.1109/ICIC54025.2021.9632920.
[13] I. O. Duka and H. A. Ado, “Identifikasi Penyakit Tanaman Citra Daun Cabe Menggunakan Gray Level Co-Occurrencce Matrix Dan Support Vector Machine,” Neptunus J. Ilmu Komput. Dan Teknol. Inf., vol. 2, no. 2, pp. 41–52, 2024, doi: 10.61132/neptunus.v2i2.86.
[14] H. B. Prajapati, J. P. Shah, and V. B. Dabhi, “Detection and Classification of Rice Plant Diseases,” Intell. Decis. Technol., vol. 11, no. 3, pp. 357–373, 2017, doi: 10.3233/IDT-170301.
[15] Ratnasarii, “penyakitdauncabai,” Kaggle. [Online]. Available: https://www.kaggle.com/datasets/ratnasarii/penyakitdauncabai
[16] B. V. Nikith, N. K. S. Keerthan, M. S. Praneeth, and T. Amrita, “Leaf Disease Detection and Classification,” Procedia Comput. Sci., vol. 218, pp. 291–300, 2023, doi: 10.1016/j.procs.2023.01.011.
[17] S. Developers, “Histogram of Oriented Gradients.” Accessed: Oct. 26, 2026. [Online]. Available: https://scikit-image.org/docs/stable/auto_examples/features_detection/plot_hog.html
[18] P. Bose, S. Dutta, V. Goyal, and S. K. Bandyopadhyay, “Leaf Diseases Detection of Medicinal Plants Based on Support Vector Machine Classification Algorithm,” J. Pharm. Res. Int., vol. 33, no. 42A, pp. 111–119, 2021, doi: 10.9734/JPRI/2021/v33i42A32391.
[19] Scikit-learn Developers, “train_test_split.” Accessed: Sep. 16, 2026. [Online]. Available: https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.train_test_split.html
[20] Scikit-learn Developers, “StandardScaler.” Accessed: Sep. 16, 2026. [Online]. Available: https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.StandardScaler.html
[21] S. Developers, “GridSearchCV.” Accessed: Sep. 16, 2026. [Online]. Available: https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.GridSearchCV.html
[22] S. Developers, “Support Vector Machines.” Accessed: Sep. 16, 2026. [Online]. Available: https://scikit-learn.org/stable/modules/svm.html
[23] D. P. Ardiansyah, R., Pamungkas, M. A. D. Widyadara, and A. Santika, “Analysis of the Effect of GridSearchCV Hyperparameter Tuning Strategy with Variations in Scoring, Test Size, and Random State on Water Quality Classification Performance Using SVM RBF Kernel,” Multitek Indones. J. Ilm., vol. 20, no. 1, pp. 104–115, 2026, doi: 10.24269/mtkind.v20i1.13841.
[24] R. K. Siregar, “Klasifikasi Status Penerimaan Pinjaman Nasabah Menggunakan Support Vector Machine dengan Optimasi Hyperparameter Tuning GridSearchCV.,” Kohesi J. Sains dan Teknol., vol. 10, no. 12, pp. 91–100, 2026, doi: 10.2238/sqnyp204.
[25] I. Pacal, I. Kunduracioglu, M. Hakki, and A. Muhammet, “A systematic review of deep learning techniques for plant diseases,” Artif. Intell. Rev., vol. 57, no. 11, 2024, doi: 10.1007/s10462-024-10944-7.
[26] J. Yao, S. O. N. N. Tran, S. Garg, and S. Sawyer, “Deep Learning for Plant Identification and Disease Classification from Leaf Images : Multi-prediction,” ACM Comput. Surv., vol. 56, no. 6, pp. 1–37, 2024, doi: 10.1145/3639816.
[27] Moukthika, “Color Spaces in OpenCV,” 29 April 2025. Accessed: Oct. 26, 2026. [Online]. Available: https://opencv.org/blog/color-spaces-in-opencv
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Nurfadillah, Nurhikma Arifin, Nourman S Irjanto

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



