Home / Journals / CMC / Online First / doi:10.32604/cmc.2026.084384
Special Issues
Table of Content

Open Access

ARTICLE

STHarDNet: A Statistically Validated Swin Transformer–HarDNet Framework for High-Precision Plant Disease Detection and Classification

Amit Pimpalkar1,*, Kapil N. Vhatkar2, Rachna K. Somkunwar3, Shweta Koparde4, Dalia H. Elkamchouchi5, Ateeq Ur Rehman6,*, Pooja Verma7, Salil Bharany8
1 School of Computer Science and Engineering, Ramdeobaba University, Nagpur, India
2 School of Computer Science and Information Technology, Symbiosis Skills and Professional University, Pune, India
3 Department of Computer Engineering, Dr. D. Y. Patil Institute of Technology, Pimpri, Pune, India
4 School of Engineering and Technology, Dr. D. Y. Patil University, Ambi, Pune, India
5 Department of Information Technology, College of Computer and Information Sciences, Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia
6 School of Computing, Gachon University, Seongnam-si, Republic of Korea
7 Uttaranchal Institute of Technology, Uttaranchal University, Dehradun, India
8 Chitkara University Institute of Engineering and Technology, Chitkara University, Rajpura, Punjab, India
* Corresponding Author: Amit Pimpalkar. Email: email; Ateeq Ur Rehman. Email: email

Computers, Materials & Continua https://doi.org/10.32604/cmc.2026.084384

Received 21 April 2026; Accepted 02 June 2026; Published online 29 June 2026

Abstract

Plants are fundamental to global food security; however, plant diseases significantly reduce agricultural productivity, making early and accurate detection essential. Traditional inspection approaches rely heavily on manual observation, which is labor-intensive, subjective, difficult to scale, and susceptible to human error. In contrast, artificial intelligence (AI) combined with computer vision (CV) offers an effective solution for early-stage disease detection, minimizing yield losses while overcoming the limitations of manual monitoring systems. In this study, a novel deep learning architecture, the Swin Transformer with Harmonic Densely Connected Network (STHarDNet), is proposed. The framework integrates a Swin Transformer (ST) as the initial skip connection within a HarDNet-based U-Net architecture to precisely localize diseased regions in leaf images. Subsequently, a modified ResNet-152 model is employed for disease classification. The ST component captures long-range dependencies at high resolution, enabling enhanced feature representation and more accurate boundary delineation. To ensure robustness and reliability, extensive statistical validation techniques are applied, including 5-fold cross-validation, bootstrap confidence intervals, Gelman-Rubin convergence diagnostics, Cohen’s d effect size, and paired t-tests with Bonferroni correction. These analyses confirm both the statistical stability and practical effectiveness of the proposed model. Experiments conducted on the hybrid PlantVillage dataset, comprising 20,798 images across 17 classes, demonstrate that STHarDNet achieves an outstanding classification accuracy of 99.81%, outperforming existing methods across multiple evaluation metrics. This research establishes a reproducible and statistically validated benchmark for automated plant disease detection (PDD), supporting its scalability in precision agriculture. Furthermore, the proposed system highlights the potential of intelligent, high-accuracy tools to assist non-expert users in identifying plant diseases at early stages, thereby enabling timely intervention and improved crop management.

Keywords

Deep learning; swin transformer; HarDNet; ResNet-152; convolutional neural network
  • 38

    View

  • 4

    Download

  • 2

    Like

Share Link