A Comparative Study of Convolutional Neural Networks and Vision Transformers for Agricultural Image Classification
Abstract
Digital agriculture is a growing field where complex systems are utilized for computer vision applications to aid decision-making. This work provides a comprehensive comparison of the applications of Convolutional Neural Networks and Vision Transformers, in the agricultural sector, specifically focusing on image classification. An extensive evaluation and comparison of both modeling frameworks is conducted with 17 different deep learning models. Using five distinct agricultural datasets comprising various image classification tasks, this work highlights the strengths and limitations of each architectural approach. Specifically, transformer variants like the Swin Transformer Version 2 excel in accuracy and the ability to capture complex patterns due to their attention-based mechanisms. In contrast, models Residual Networks offer a balance between computational efficiency and performance, making them suitable for scenarios with limited computational resources. The findings highlight the importance of selecting an appropriate deep learning model based on specific agricultural tasks.
Fields of Study & Subjects
Smart Agriculture and AI
Spectroscopy and Chemometric Analyses
Greenhouse Technology and Climate Control
Publication details
- Journal / source
- Journal of Database Management
- Publisher
- IGI Global Scientific Publishing
- Volume
- 36
- Issue
- 1
- Pages
- 1–27
- Publication date
- 15 January 2026
- Language
- NG