Home
International Journal of Science and Research Archive
International, Peer reviewed, Open access Journal ISSN Approved Journal No. 2582-8185

Main navigation

  • Home
    • Journal Information
    • Abstracting and Indexing
    • Editorial Board Members
    • Reviewer Panel
    • Journal Policies
    • IJSRA CrossMark Policy
    • Publication Ethics
    • Instructions for Authors
    • Article processing fee
    • Track Manuscript Status
    • Get Publication Certificate
    • Current Issue
    • Issue in Progress
    • Past Issues
    • Become a Reviewer panel member
    • Join as Editorial Board Member
  • Contact us
  • Downloads

ISSN Approved Journal || eISSN: 2582-8185 || CODEN: IJSRO2 || Impact Factor 8.2 || Google Scholar and CrossRef Indexed

Fast Publication within 48 hours || Low Article Processing Charges || Peer Reviewed and Referred Journal || Free Certificate

Research and review articles are invited for publication in January 2026 (Volume 18, Issue 1)

A web-based application for cotton leaf disease classification using vision transformer

Breadcrumb

  • Home
  • A web-based application for cotton leaf disease classification using vision transformer

Farhan Bin Jashim 1, Fajle Rabbi Refat 1, Mohammad Hasnatul Karim 1, Farhad Uddin Mahmud 2 and Fariha Ashrafi 3, *

1 Department of Business Administration and Management, International American University, CA 90010, USA.

2 Department of Business Administration in Management Information Systems, International American University, CA 90010, USA.

3 Department of Information Technology, Westcliff University, Irvine, CA 92614.

Review Article

International Journal of Science and Research Archive, 2025, 15(02), 1405–1416

Article DOI: 10.30574/ijsra.2025.15.2.1501

DOI url: https://doi.org/10.30574/ijsra.2025.15.2.1501

Received on 08 April 2025; revised on 27 May 2025; accepted on 29 May 2025

Cotton leaf diseases particularly threaten crop productivity, making early detection a vital yet challenging task due to subtle visual symptoms, a scarcity of labeled datasets, and the absence of diagnostic tools suitable for field use. Traditional deep learning methods often struggle with generalization across varying agricultural conditions and require extensive computational resources. To address these challenges, this study proposes a novel framework for classifying cotton leaf diseases using Vision Transformer (ViT) architecture, specifically the Swin Transformer, integrated into a real-time, web-based diagnostic application. The system was trained and evaluated using two publicly available datasets: SAR-CLD-2024, which contains 2,137 images across seven disease classes, and a severity-based dataset consisting of 980 images categorized into four disease types with subclass labels. To mitigate class imbalance, extensive data augmentation was employed. In this study, we employed Generalized Low Rank Modeling (GLRM) for dimensionality reduction and Infomax-GAN for feature selection, enhancing model performance and interpretability. We benchmarked four ViT models—LeViT, BEiT, DeiT, and Swin Transformer—using accuracy, precision, recall, F1-score, and PR-AUC as metrics. The Swin Transformer achieved the highest accuracy, 99.70% on the SAR-CLD-2024 dataset and 98.84% on the severity-based dataset. Our web application enables users to upload images and receive real-time diagnostic feedback, offering a practical solution for precision agriculture. This study's novelty lies in integrating hierarchical transformer-based classification with advanced feature selection and practical deployment, creating a robust tool for early detection of cotton leaf diseases in agriculture. 

Cotton Leaf Disease; Vision Transformer; Agriculture; Sustainable Farming; Swim Transformer

https://journalijsra.com/sites/default/files/fulltext_pdf/IJSRA-2025-1501.pdf

Preview Article PDF

Farhan Bin Jashim, Fajle Rabbi Refat, Mohammad Hasnatul Karim, Farhad Uddin Mahmud and Fariha Ashrafi. A web-based application for cotton leaf disease classification using vision transformer. International Journal of Science and Research Archive, 2025, 15(02), 1405–1416. Article DOI: https://doi.org/10.30574/ijsra.2025.15.2.1501.

Copyright © 2025 Author(s) retain the copyright of this article. This article is published under the terms of the Creative Commons Attribution Liscense 4.0

For Authors: Fast Publication of Research and Review Papers


ISSN Approved Journal publication within 48 hrs in minimum fees USD 35, Impact Factor 8.2


 Submit Paper Online     Google Scholar Indexing Peer Review Process

Footer menu

  • Contact

Copyright © 2026 International Journal of Science and Research Archive - All rights reserved

Developed & Designed by VS Infosolution