Keywords: Artificial intelligence, Machine Learning, Deep Learning, Plant Disease Detection, CNN, Image Classification, Feature Extraction
Agriculture plays a vital role in global food production and economic development. However, plant diseases caused by fungi, bacteria, viruses, nematodes, and other pathogens can significantly reduce crop yield and quality. Early disease identification is therefore essential for preventing disease spread and reducing economic losses. Conventional plant disease diagnosis primarily relies on visual examination by farmers or trained experts. Although expert inspection can be effective, it may be subjective, time-consuming, and difficult to apply over large agricultural areas.
The rapid growth of digital imaging, smartphones, unmanned aerial vehicles (UAVs), and Internet of Things (IoT) technologies has created new opportunities for automated plant-health monitoring. At the same time, advances in artificial intelligence have made it possible to analyze plant images automatically and identify disease symptoms such as leaf spots, discoloration, lesions, wilting, and abnormal textures.
Early computer-vision systems generally followed a sequence of image preprocessing, segmentation, handcrafted feature extraction, and machine-learning classification. Algorithms such as SVM, k-NN, Decision Trees, and Random Forests were commonly used. However, these approaches depend strongly on manually selected features and may have limited robustness under changing environmental conditions.
Deep learning has substantially changed this field. CNNs can automatically learn hierarchical image features, reducing the need for manual feature engineering. Transfer learning has further improved the feasibility of deep learning when agricultural datasets are limited. Recent research has expanded toward object detection, segmentation, Vision Transformers, attention mechanisms, and multimodal artificial intelligence.
Despite these advances, a major challenge remains the gap between laboratory and real-field performance. Controlled datasets are useful for benchmarking but may not represent images captured in actual farms. Variations in illumination, background, crop variety, disease stage, camera quality, and environmental conditions can significantly affect model performance.
Early studies generally used image-processing techniques to extract handcrafted features such as color, texture, shape, and lesion characteristics. These features were subsequently classified using algorithms such as SVM, k-NN, Random Forest, and Artificial Neural Networks. The major advantage of traditional ML is that it can work effectively with relatively small datasets and requires fewer computational resources than deep neural networks. However, its performance depends strongly on feature engineering, and features designed for one crop or disease may not generalize to another crop or environmental condition.
CNNs significantly changed plant disease recognition because they can learn useful image features automatically. Mohanty et al. (2016) [1] demonstrated the potential of deep CNNs for image-based plant disease detection using PlantVillage, establishing an important foundation for subsequent research. Later studies investigated architectures including AlexNet, VGG, GoogLeNet, ResNet, DenseNet, MobileNet, and EfficientNet. CNN-based systematic reviews have shown their continuing importance for disease classification.
Transfer learning has become particularly important because labelled agricultural datasets are often limited. Instead of training a model from scratch, researchers use networks pretrained on large image datasets and fine-tune them using plant disease images. ResNet, DenseNet, MobileNet, EfficientNet, and Inception-based models have frequently been used. Transfer learning can improve performance and reduce training requirements, although it does not by itself eliminate the domain gap between general image datasets and agricultural field images.
Recent research has moved beyond image-level classification toward disease localization. Object-detection algorithms such as Faster R-CNN, SSD, and YOLO can identify diseased regions within complex images. Segmentation models such as U-Net, DeepLab, and Mask R-CNN can identify diseased pixels and are particularly useful for estimating disease severity. Pacal et al. (2024) [2] systematically reviewed recent work across classification, detection, and segmentation, demonstrating the broadening scope of deep-learning applications.
Vision Transformers (ViTs) have emerged as an alternative to conventional CNN architectures. ViTs divide images into patches and use self-attention to model relationships between different regions. Recent reviews identify transformer-based approaches as an increasingly important research direction. Although transformers provide strong representation capabilities, their computational requirements and dependence on large-scale training data can make deployment more challenging.
An important development in recent literature is the increasing focus on real-world datasets. George et al. (2025) [3] reviewed widely used datasets and emphasized the importance of distinguishing laboratory datasets from real-world field datasets. Recent reviews similarly identify environmental variability, image noise, domain shift, and limited field datasets as major barriers to practical deployment.
More recent research has increasingly considered the interpretability of disease-detection models. Explainable AI methods such as Grad-CAM, LIME, and SHAP can indicate which regions or features influenced a model's prediction. A 2026 systematic review of ML and explainable AI for plant disease recognition highlights predictive performance, interpretability, and real-world applicability as important dimensions of modern systems.
Overall, the literature shows a clear progression: Traditional ML ? CNNs ? Transfer Learning ? Detection/Segmentation ? Transformers ? Explainable and Multimodal AI.
Traditional ML-based plant disease detection generally follows: Image Acquisition ? Preprocessing ? Segmentation ? Feature Extraction ? Classification. Common features include color, texture, and shape. SVM, k-NN, Random Forest, and Decision Tree classifiers can then be applied. The main advantage of traditional ML is its relatively low computational requirement. However, manually designed features may not generalize across different crops, diseases, environmental conditions, or imaging devices. Consequently, deep learning has increasingly replaced handcrafted feature-based approaches.
| Study/Year | Main Approach | Dataset/Focus | Major Contribution |
|---|---|---|---|
| Mohanty et al. (2016) [1] | CNN | PlantVillage | Demonstrated deep learning for plant disease recognition |
| Ferentinos (2018) [4] | CNN architectures | Plant disease images | Investigated CNN models for disease diagnosis |
| 2021 CNN systematic review | CNN | Multiple datasets | Identified trends and gaps in CNN-based recognition |
| 2022 DL survey | CNN, transfer learning, detection, segmentation | Multiple crops | Reviewed datasets, sensors, generalization, and severity estimation |
| Pacal et al. (2024) [2] | CNN, ViT, detection, segmentation | 160 studies | Systematic review of recent methods and datasets |
| George et al. (2025) [3] | Deep learning survey | Multiple datasets | Compared laboratory and real-world datasets |
| Upadhyay et al. (2025) [7] | CNN, DL, computer vision | Precision agriculture | Reviewed models and trends |
| Shafay et al. (2025) [8] | AI/DL | Recent research | Examined practical challenges and opportunities |
| 2026 XAI review | ML + XAI | Multiple datasets | Focused on explainability and trustworthiness |
CNNs automatically learn hierarchical features from images. Early layers detect edges and color patterns, while deeper layers identify disease-specific structures. Popular architectures include VGG, ResNet, DenseNet, Inception, MobileNet, and EfficientNet.
Transfer learning adapts pretrained models to plant disease datasets and is especially useful when agricultural datasets are relatively small.
YOLO and Faster R-CNN can identify both disease type and disease location. This is useful for images containing multiple leaves or disease regions.
U-Net, DeepLab, and Mask R-CNN can identify exact diseased regions and support disease severity estimation.
PlantVillage remains one of the most widely used datasets. It contains 54,303 healthy and unhealthy leaf images divided into 38 categories by species and disease. Its major advantages are its size, accessibility, and consistent labeling. However, many images are captured under relatively controlled conditions.
Field-oriented datasets such as PlantDoc provide more realistic conditions involving complex backgrounds and environmental variation. Future datasets should include multiple geographic regions, crop varieties, disease stages, environmental conditions, camera types, field-level images, and multiple diseases on the same plant.
Models trained on controlled images may perform poorly on field images because of background clutter, shadows, occlusion, and environmental variability.
Rare diseases may have substantially fewer training samples than common diseases.
Early symptoms can be small and visually similar to nutrient deficiencies or natural variation.
Future systems should support multi-label classification because plants may experience multiple diseases simultaneously.
Large deep-learning and transformer models may be unsuitable for low-cost smartphones and IoT devices.
Farmers and agricultural experts may require an explanation for an AI prediction before acting upon it.
Models should generalize across farms, regions, seasons, and imaging conditions.
Large collections of unlabeled agricultural images can be used to learn useful representations without extensive manual annotation.
Mobile-optimized models can enable disease detection directly on smartphones and agricultural IoT devices.
Combining images with temperature, humidity, soil moisture, crop stage, and weather data can provide more comprehensive disease assessment.
Future models should identify the regions responsible for predictions and provide understandable explanations.
Large pretrained models may eventually support multiple crops, diseases, and agricultural tasks using a common architecture.
Spectral information beyond RGB may allow detection of physiological changes before visible symptoms become prominent.
Federated learning may enable collaborative model development without requiring farms to share raw images.
| Approach | Advantage | Limitation | Application |
|---|---|---|---|
| SVM/Random Forest | Works with smaller datasets | Requires handcrafted features | Basic classification |
| CNN | Automatic feature learning | Requires considerable training data | Disease classification |
| Transfer Learning | Effective with limited data | Domain shift remains | Classification |
| YOLO | Fast detection | Small symptoms may be difficult | Real-time detection |
| U-Net | Precise segmentation | Computationally demanding | Severity estimation |
| Vision Transformer | Captures long-range relationships | Higher data/computational requirements | Advanced recognition |
| Lightweight CNN | Efficient | May reduce accuracy | Mobile/edge deployment |
| Multimodal AI | Uses multiple information sources | Requires diverse data | Decision support |
Machine learning and deep learning have transformed automated plant disease detection from handcrafted image analysis to sophisticated AI-based recognition systems. Traditional ML methods established the foundation through color, texture, and shape analysis, while CNNs enabled automatic feature extraction. Transfer learning further improved the feasibility of deep learning when agricultural datasets are limited. Recent research has expanded toward object detection, segmentation, Vision Transformers, explainable AI, and multimodal systems.
The literature also demonstrates that high benchmark accuracy alone is not sufficient to establish practical effectiveness. Controlled datasets such as PlantVillage have played an important role in advancing the field, but real agricultural environments introduce substantial variations that can reduce model reliability. Recent systematic reviews consistently identify field generalization, dataset diversity, explainability, computational efficiency, and practical deployment as major unresolved issues.
Future plant disease detection systems should therefore combine robust computer vision with domain adaptation, multimodal information, IoT sensing, edge computing, explainable AI, and possibly foundation models. The ultimate objective should be the development of affordable, reliable, interpretable, and field-ready systems that assist farmers and agricultural experts in early disease detection and sustainable crop management.