Artificial Intelligence-Aided Diagnosis in Agriculture: Plant Disease Classification with Vision Transformer and CNN Models
This study comparatively evaluates the performance of Convolutional Neural Networks (CNN), Vision Transformer (ViT), and Swin Transformer architectures for diagnosing plant leaf diseases. The experimental framework was evaluated using model effectiveness, F1 scores, and confusion matrices on the PlantVillage dataset, which contains 55,448 images from 39 different classes. The results show that the Swin Transformer achieved the highest diagnostic performance with a 100% F1 score, outperforming both CNN and ViT models. These findings confirm the high potential of transformer-based architectures for automated disease detection in agriculture.
Authors
- Mahmut Şamil Kaya (ORCID: https://orcid.org/0000-0002-7846-1769)
- Mehmet Arzu (ORCID: https://orcid.org/0000-0001-6610-2788)
- Fatih Sarı
- Alim Demir
Institutions
- Fırat University (TR)
Publication Details
- Journal
- NATURENGS MTU Journal of Engineering and Natural Sciences Malatya Turgut Ozal University
- Published
- 2025-12-30
- DOI
- https://doi.org/10.46572/naturengs.1832476
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00