A Smart Agriculture Framework for Apple Leaf Disease Detection Using YOLOv8 and Swin Transformer Networks

Authors

  • Pritam Kumar Gupta, Prof. Kamlesh Raghuwanshi, Prakash maravi, Dr.Surabhi Karsoliya

Keywords:

Apple Leaf Disease Detection, YOLOv8s, Hybrid ResNet50 + Swin Transformer, Deep Learning, Smart Agriculture , CNN, Hybrid, disease

Abstract

Detecting diseases in apple leaves plays a vital role in maintaining agricultural productivity, output quantity, and product standards. Enhancing the quality of cultivated crops and increasing their yield can be achieved by reducing losses and adopting better disease management strategies through effective disease diagnosis. Currently, the primary approach to diagnosing plant diseases involves conventional techniques, including the examination of leaves and branches by an experienced professional. This process is not only lengthy and expensive but also prone to inaccuracies due to human disruptions. Over the years, learning methods have developed and shown notable progress in enhancing techniques to combat plant diseases. This research differs primarily in utilizing the YOLOv8s method and a hybrid ResNet50 plus Swin Transformer model with attention features to target the classification of apple leaf diseases. The method enhances performance in object decomposition and disease classification by leveraging Transformer models for global context and CNNs for extracting local features. With a total accuracy of 98.56%, the hybrid system also achieved a weighted average F1-score of 98.56% and a macro average F1-score of 98.59%. Since disease category A achieved an F1-score of 99.66%, it suggests that hybrid plant disease monitoring is highly effective in managing Cedar Apple Rust specifically. The confusion matrix and the precision-recall analysis offered additional evidence supporting this highly uniform classification, which exhibited almost no errors across the different disease categories. The proposed hybrid framework achieved improved classification accuracy, enhanced feature extraction, and superior prediction performance relative to the current YOLOv8s model. The suggested hybrid framework obtained strong classification performance by capturing both basic spatial features and more complex spatial patterns with contextual details, despite YOLOv8s being trained as an end-to-end model that performed well in localization and detection tasks.

References

Raj, Anusha, et al. "YOLO-ODD: an improved YOLOv8s model for onion foliar disease detection." Frontiers in Plant Science 16 (2025): 1551794.

Bao, Weihao, and Fuquan Zhang. "Apple Pest and Disease Detection Network with Partial Multi-Scale Feature Extraction and Efficient Hierarchical Feature Fusion." Agronomy 15.5 (2025): 1043.

Zarboubi, Mohamed, et al. "Enhancing Integrated Pest Management with IoT and YOLO-Evo: A Smart, Low-Cost Monitoring System for Sustainable Apple Farming." Results in Engineering (2025): 108850.

Li, Xiaojuan, et al. "HEFM-YOLO: a lightweight model for apple leaf disease detection in real-world environments." International Conference on Image, Signal Processing, and Machine Learning (ISPML 2025). Vol. 14058. SPIE, 2026.

Erkamim, Moh, Muhammad Zidni Subarkah, and R. Soelistijono. "The Analysis of Architectural YOLOv5 Convolutional Neural Networks for Detecting Apple Leaf Diseases." Journal of Applied Agricultural Science and Technology 9.1 (2025): 40-52.

Zhang, Silu, et al. "YOLO-ACT: An adaptive cross-layer integration method for apple leaf disease detection." Frontiers in plant science 15 (2024): 1451078.

Li, Tong, Liyuan Zhang, and Jianchu Lin. "Precision agriculture with YOLO-Leaf: advanced methods for detecting apple leaf diseases." Frontiers in plant science 15 (2024): 1452502.

Yan, Chunman, and Kangyi Yang. "FSM-YOLO: Apple leaf disease detection network based on adaptive feature capture and spatial context awareness." Digital Signal Processing 155 (2024): 104770.

Jie, Y. U. A. N., et al. "Apple leaf disease detection method based on improved YOLO v7." Nongye Jixie Xuebao/Transactions of the Chinese Society of Agricultural Machinery 55.11 (2024).

Gomez, Daniela, et al. "Advancing common bean (Phaseolus vulgaris L.) disease detection with YOLO driven deep learning to enhance agricultural AI." Scientific Reports 14.1 (2024): 15596.

Yang, Ruotong, et al. "CA-YOLOv5: A YOLO model for apple detection in the natural environment." Systems science & control engineering 12.1 (2024): 2278905.

Reim, Stefanie, et al. "YOLO-Based phenotyping of apple blotch disease (diplocarpon coronariae) in genetic resources after artificial inoculation." Agronomy 14.5 (2024): 1042.

Boudaa, Boudjemaa, et al. "Advancing plant diseases detection with pre-trained yolo models." 2024 6th International Conference on Pattern Analysis and Intelligent Systems (PAIS). IEEE, 2024.

Sangaiah, Arun Kumar, et al. "UAV T-YOLO-rice: An enhanced tiny YOLO networks for rice leaves diseases detection in paddy agronomy." IEEE transactions on network science and engineering 11.6 (2024): 5201-5216.

Zhou, Pengcheng, et al. "A lightweight apple fruit instance segmentation network: YOLO-AppleSeg." Proceedings of the International Conference on Computer Vision and Deep Learning. 2024.

Xiao, Bingjie, Minh Nguyen, and Wei Qi Yan. "Apple ripeness identification from digital images using transformers." Multimedia Tools and Applications 83.3 (2024): 7811-7825.

Sapkota, Ranjan, Zhichao Meng, and Manoj Karkee. "Synthetic meets authentic: Leveraging llm generated datasets for yolo11 and yolov10-based apple detection through machine vision sensors." Smart Agricultural Technology 9 (2024): 100614.

Anitha, G., et al. "Pest detection and identification in rice crops using Yolo V3 convolutional neural network." 2024 OPJU International Technology Conference (OTCON) on Smart Computing for Innovation and Advancement in Industry 4.0. IEEE, 2024.

Hu, Haipeng, et al. "BHI-YOLO: A lightweight instance segmentation model for strawberry diseases." Applied Sciences 14.21 (2024): 9819.

BalaChandralekha, S., and J. Thangakumar. "Deep learning-based detection of fungal diseases in apple plants using yolov8 algorithm." 2024 International Conference on Advances in Data Engineering and Intelligent Computing Systems (ADICS). IEEE, 2024.

Zhao, Yun, et al. "Apeiou integration for enhanced yolov7: Achieving efficient plant disease detection." Agriculture 14.6 (2024): 820.

Saputra, Muhammad Andryan Wahyu, et al. "Implementation of YOLO in Cabbage Plant Disease Detection for Smart and Sustainable Agriculture." Brilliance: Research of Artificial Intelligence 4.2 (2024): 798-804.

Mao, DianHui, et al. "Using filter pruning-based deep learning algorithm for the real-time fruit freshness detection with edge processors." Journal of Food Measurement & Characterization 18.2 (2024): 1574-1591.

Dhilleswararao, Pudi & Boppu, Srinivas & Manikandan, M. & Cenkeramaddi, Linga Reddy. (2022). Efficient Hardware Architectures for Accelerating Deep Neural Networks: Survey. IEEE Access. PP. 1-1. 10.1109/ACCESS.2022.3229767.

Kacira, Murat & Ling, Peter. (2001). Design and development of an automated and non-contact sensing system for continuous monitoring of plant health and growth. Transactions of the ASAE. American Society of Agricultural Engineers. 44. 989-96. 10.13031/2013.6231.

Downloads

How to Cite

Pritam Kumar Gupta, Prof. Kamlesh Raghuwanshi, Prakash maravi, Dr.Surabhi Karsoliya. (2026). A Smart Agriculture Framework for Apple Leaf Disease Detection Using YOLOv8 and Swin Transformer Networks. International Journal of Research & Technology, 14(2), 1171–1185. Retrieved from https://ijrt.org/j/article/view/1416

Issue

Section

Original Research Articles

Similar Articles

<< < 24 25 26 27 28 29 30 31 32 33 > >> 

You may also start an advanced similarity search for this article.