An Automated CNN Framework for Multi-Class Apple Leaf Disease
Main Article Content
Abstract
Apple is one of the most economically valuable fruit crops cultivated worldwide; however, its productivity is significantly affected by leaf diseases such as apple scab and cedar apple rust. Conventional disease identification methods are often labor-intensive, time-consuming, and highly dependent on human expertise, resulting in subjective diagnoses. To address these limitations, this study proposes an automated apple leaf disease classification system based on a Convolutional Neural Network (CNN). A subset of the PlantVillage dataset comprising 1,200 images was utilized, including 400 healthy apple leaves, 400 apple scab images, and 400 cedar apple rust images. The dataset was divided into 80% training and 20% testing subsets. Image preprocessing consisted of resizing, pixel normalization, brightness adjustment for contrast enhancement, and data augmentation to improve model generalization. The CNN model was trained using the Adam optimizer with the categorical cross-entropy loss function. Experimental results demonstrated an overall classification accuracy of 98% without evidence of significant overfitting. The classification report showed that the healthy class achieved 0.97 precision, 0.97 recall, and 0.97 F1-score; the cedar apple rust class achieved 0.99 precision, 1.00 recall, and 0.99 F1-score; while the apple scab class obtained 0.97 precision, 0.96 recall, and 0.97 F1-score. Most classification errors occurred in the apple scab class due to its visual similarity to healthy leaves. These findings demonstrate that the proposed CNN architecture effectively learns discriminative visual features for multiclass apple leaf disease classification. The proposed system has strong potential as an early disease detection tool to support precision agriculture and sustainable apple crop management. Future work will focus on employing deeper CNN architectures, transfer learning techniques, and image segmentation methods to further improve the recognition performance of challenging disease classes, particularly apple scab.
Downloads
Article Details
Section

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
How to Cite
References
[1] R. Thapa, “The Plant Pathology Challenge 2020 data set to classify foliar disease of apples,” vol. 8, no. 9, pp. 1–8, 2020, doi: 10.1002/aps3.11390.
[2] A. I. Khan, S. M. K. Quadri, S. Banday, and J. Latief Shah, “Deep diagnosis: A real-time apple leaf disease detection system based on deep learning,” Comput. Electron. Agric., vol. 198, p. 117093, 2022, doi: https://doi.org/10.1016/j.compag.2022.117093.
[3] P. Bansal, R. Kumar, and S. Kumar, “Disease Detection in Apple Leaves Using Deep Convolutional Neural Network,” 2021, doi: 10.3390/agriculture11070617.
[4] D. P. Hughes and M. Salathé, “An open access repository of images on plant health to enable the development of mobile disease diagnostics,” arXiv preprint arXiv:1511.08060, 2015.
[5] K. P. Ferentinos, “Deep learning models for plant disease detection and diagnosis,” Comput. Electron. Agric., vol. 145, pp. 311–318, 2018, doi: https://doi.org/10.1016/j.compag.2018.01.009.
[6] M. Rizwan, S. Bibi, S. Ul, T. Jan, and M. Haseeb, “Automatic plant disease detection using computationally efficient convolutional neural network,” no. February, pp. 1–14, 2024, doi: 10.1002/eng2.12944.
[7] E. Chebet, L. Yujian, S. Njuki, and L. Yingchun, “A comparative study of fine-tuning deep learning models for plant disease identification,” in Proc. Int. Conf. on Intelligent Agriculture (ICIA), Mar. 2018.
[8] A. Islam, T. Tahsin, Z. Anjum, M. B. Hasan, and M. H. Kabir, “A domain-adapted lightweight ensemble for resource-efficient few-shot plant disease classification,” arXiv preprint, 2023.
[9] S. P. Mohanty, D. P. Hughes, and M. Salathé, “Using Deep Learning for Image-Based Plant Disease Detection,” vol. 7, no. September, pp. 1–10, 2016, doi: 10.3389/fpls.2016.01419.
[10] E. Aronés, J. Espinal, and C. Salas, “App2 : software solution for apple leaf disease detection based on deep learning ( CNN + SVM ),” no. October, pp. 1–12, 2025, doi: 10.3389/frai.2025.1648867.
[11] H. J. D. Koresh, “Impact of the Preprocessing Steps in Deep Learning-Based Image Classifications,” Natl. Acad. Sci. Lett., vol. 47, no. 6, pp. 645–647, 2024, doi: 10.1007/s40009-023-01372-2.
[12] H. Talebi and P. Milanfar, “Learning to resize images for computer vision tasks,” in Proc. IEEE/CVF Conf. on Computer Vision and Pattern Recognition (CVPR), pp. 497–506, 2021.
[13] Y. LeCun, Y. Bengio, and G. Hinton, “Deep learning,” Nature, vol. 521, no. 7553, pp. 436–444, 2015, doi: 10.1038/nature14539.
[14] K. Hong and Y. Zhou, “The pipelines of deep learning-based plant image processing,” Computers and Electronics in Agriculture, vol. 192, p. 106607, Jan. 2022. doi: 10.1016/j.compag.2021.106607.
[15] M. K. Elfouly, A. M. Abdelaziz, W. H. Gomaa, and M. Abdalla, A Deep Learning-Based Framework for Large-Scale Plant Disease Detection Using Big Data Analytics in Precision Agriculture. Cham, Switzerland: Springer International Publishing, 2025.
[16] X. Liu, F. Guo, X. Lu, W. Peng, and A. Jolfaei, “Data augmentation in classification and segmentation: A survey and new strategies,” Journal of Imaging, vol. 9, no. 2, p. 46, Feb. 2023. doi:
10.3390/jimaging9020046.
[17] A. Khan, A. Sohail, U. Zahoora, and A. S. Qureshi, “A survey of the recent architectures of deep convolutional neural networks,” Artif. Intell. Rev., vol. 53, no. 8, pp. 5455–5516, 2020, doi:
10.1007/s10462-020-09825-6.
[18] A. Penelitian, A. F. Fuady, D. O. Amsyah, M. Farhan, R. Riansyah, and M. D. Dhiyaul, “Jurnal Publikasi Ilmu
Komputer dan Implementasi Algoritma Convolutional Neural Network ( CNN ) untuk Pengenalan dan Klasifikasi Buah Berdasarkan Citra Digital”.
[19] K. E. N. Ratri, R. Wardani, and L. Leonardi, “Klasifikasi Penyakit pada Daun Anggur menggunakan Metode Convolutional Neural Network,” vol. 17, no. 2, pp. 112–126, 2023.
[20] K. Azmi and S. Defit, “Implementasi Convolutional Neural Network ( CNN ) Untuk Klasifikasi Batik Tanah Liat Sumatera Barat,” vol. 16, no. 1, pp. 2580–2582, 2023.
[21] J. Gu et al., “Recent advances in convolutional neural networks,” Pattern Recognit., vol. 77, pp. 354–377, 2018, doi: https://doi.org/10.1016/j.patcog.2017.10.013.