In order for a country’s economy to grow, agricultural development is essential. Plant diseases, however, severely hamper crop growth rate and quality. In the absence of domain experts and with low contrast information, accurate identification of these diseases is very challenging and time-consuming. This leads to an agricultural management system in need of a method for automatically detecting disease at an early stage. As a consequence of dimensionality reduction, CNN-based models use pooling layers, which results in the loss of vital information, including the precise location of the most prominent features. In response to these challenges, we propose a fine-tuned technique, GreenViT, for detecting plant infections and diseases based on Vision Transformers (ViTs). Similar to word embedding, we divide the input image into smaller blocks or patches and feed these to the ViT sequentially. Our approach leverages the strengths of ViTs in order to overcome the problems associated with CNN-based models. Experiments on widely used benchmark datasets were conducted to evaluate the proposed GreenViT performance. Based on the obtained experimental outcomes, the proposed technique outperforms state-of-the-art (SOTA) CNN models for detecting plant diseases.
Agriculture is a cornerstone of economic prosperity, but plant diseases can severely impact crop yield and quality. Identifying these diseases accurately is often difficult due to limited expert availability and ambiguous information. Early detection and automated diagnosis systems are crucial to mitigate these challenges. To address this, we propose a lightweight convolutional neural network (CNN) designed for resource-constrained devices termed as LeafNet. LeafNet draws inspiration from the block-wise VGG19 architecture but incorporates several optimizations, including a reduced number of parameters, smaller input size, and faster inference time while maintaining competitive accuracy. The proposed LeafNet leverages small, uniform convolutional filters to capture fine-grained details of plant disease features, with an increasing number of channels to enhance feature extraction. Additionally, it integrates channel attention mechanisms to prioritize disease-related features effectively. We evaluated the proposed method on four datasets: the benchmark plant village (PV), the data repository of leaf images (DRLIs), the newly curated plant composite (PC) dataset, and the BARI Sunflower (BARI-Sun) dataset, which includes diverse and challenging real-world images. The results show that the proposed performs comparably to state-of-the-art methods in terms of accuracy, false positive rate (FPR), model size, and runtime, highlighting its potential for real-world applications.