Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

ALDNet: A lightweight algorithm for apple leaf disease detection

  • Shutao Guo,

    Roles Conceptualization, Investigation, Methodology, Software

    Affiliations Qingdao Institute of Software, College of Computer Science and Technology, China University of Petroleum (East China), Qingdao, China, State Key Laboratory of Chemical Safety, Qingdao, China, Shandong Key Laboratory of Intelligent Oil & Gas Industrial Software, Qingdao, China

    ⨯
  • Ning Yang,

    Roles Investigation, Visualization

    Affiliations Qingdao Institute of Software, College of Computer Science and Technology, China University of Petroleum (East China), Qingdao, China, State Key Laboratory of Chemical Safety, Qingdao, China, Shandong Key Laboratory of Intelligent Oil & Gas Industrial Software, Qingdao, China

    ⨯
  • Wenrui Zhang,

    Roles Data curation, Writing – original draft

    Affiliation School of Animation and Communication, Qingdao Agricultural University, Qingdao, China

    ⨯
  • Shanchen Pang

    Roles Conceptualization, Funding acquisition, Project administration, Supervision, Writing – review & editing

    pangsc@upc.edu.cn

    Affiliations Qingdao Institute of Software, College of Computer Science and Technology, China University of Petroleum (East China), Qingdao, China, State Key Laboratory of Chemical Safety, Qingdao, China, Shandong Key Laboratory of Intelligent Oil & Gas Industrial Software, Qingdao, China

    ⨯

Abstract

To enhance the overall performance of apple leaf disease detection, this study developed an ALDNet detection model based on YOLOv26. Swin Transformer was introduced to enhance global context modeling capability, while the multi-scale cross-axis attention module (MSAM) was embedded to strengthen the representation of subtle lesion features. In addition, the NWD (Normalized Wasserstein distance) loss was adopted to optimize the bounding-box regression of small lesions. Additionally, an intelligent detection system integrating user authentication, image uploading, model inference, and result visualization was developed based on the trained ALDNet model. Experimental results showed that ALDNet achieved an mAP@0.5 of 93.7%, an mAP@0.5:0.95 of 65.0%, a Precision of 91.8%, and a Recall of 86.6%, with a model weight size of only 8.1 MB. Compared with several mainstream object detection models, ALDNet achieved competitive performance in terms of mAP@0.5, mAP@0.5:0.95, and Precision while maintaining a relatively lightweight model size. Although its Recall was lower than that of Faster R-CNN, ALDNet provided a balanced trade-off between detection performance and model complexity. The results indicate that ALDNet provides a feasible approach for apple leaf disease detection and offers technical support for intelligent and rapid disease diagnosis in orchard environments.

1. Introduction

Apples are one of the core industries that boost rural revitalization and increase the income of fruit farmers [1]; [2]. Throughout the entire apple planting cycle, leaves act as core organs for photosynthesis and nutrient transportation [3]. Their health condition directly affects the growth vigor of apple trees, as well as the quality of flowers and fruits and the annual yield [4].

Leaf diseases severely disrupt the normal physiological metabolism and photosynthesis of apple trees, thereby directly hindering apple growth and reducing production output [5]. Early disease detection helps reduce economic losses, improve production efficiency and enhance fruit quality [6]. Therefore, accurate, rapid and efficient apple leaf disease detection acts as a key link for green orchard prevention and control, quality improvement and yield increase.

Traditional machine learning has opened up new ideas for the automatic detection of crop diseases [7]. It extracts handcrafted features such as texture, color and shape from images, and realizes automatic disease identification by completing classification based on diverse extracted features [8] combined image processing and SVM algorithm to detect apple leaf diseases, achieving an accuracy of 96% [9] proposed a disease recognition method based on 2DSLDR dimensionality reduction, which improved classification performance by optimizing feature distribution and reached an identification accuracy of over 90% for apple leaf diseases [10] adopted PSO-FCM and GMM algorithms to complete leaf image segmentation, fused multiple image features, and realized leaf disease recognition via the MK-PSVM classifier, achieving superior classification and detection results. All the above studies performed apple leaf disease detection based on image processing and machine learning methods. Although desirable recognition results were obtained, such approaches heavily rely on manually designed features, which are difficult to adapt to the practical automatic detection of leaf diseases in complex field environments and thus have prominent application limitations.

Some studies have applied deep learning to apple leaf disease recognition [11] established a disease dataset and proposed the to realize rapid recognition of five types of apple leaf diseases, with the model mAP reaching 78.80% and a detection speed of 23.13 FPS [12] identified four categories of apple leaf diseases by combining the improved AlexNet convolutional neural network with image generation technology. This method achieved a recognition accuracy of 97.62%, greatly reduced model parameters, and effectively improved recognition accuracy and model robustness [13] proposed the DF-Tiny-YOLO model for apple leaf disease detection. Through multiple optimizations including dense connection, convolution compression and feature dimension reduction, the model obtained an mAP of 99.99% and an IoU of 90.88%, with a detection speed up to 280 FPS [14] constructed a high-quality apple leaf spot disease dataset, designed BCM, CAM and BTFPN modules and integrated them into BCTNet, which achieved mAP of 85.23% and a detection speed of 33 FPS on the self-built dataset [15] improved ResNet-50 and embedded attention mechanism and multi-scale fusion strategy, reaching an accuracy of 98.32% on the dataset and outperforming the original model [16] adopted Lab color segmentation combined with DWT and color histogram feature fusion, and implemented apple leaf disease recognition based on random forest classifier, with an accuracy of 98.63% on the PlantVillage dataset [17] constructed the LeafSightX model integrating dual backbone networks and multi-head self-attention, which attained a high recognition accuracy of 99.64% with excellent precision and strong generalization ability [18] enhanced the accuracy and robustness of grape cluster detection and yield estimation under complex vineyard conditions through the integration of multi-scale feature enhancement, attention mechanisms, an anchor-free detection head, and cross-modal information fusion.

Although numerous above researches have adopted various deep learning algorithms for apple leaf disease detection and achieved certain achievements, there still exist deficiencies. Specifically, leaf lesion features are extremely subtle, leading to easy loss of detailed features and difficulty in further improving recognition accuracy. In view of the above problems, this study conducts targeted optimization on the YOLOv26 network structure to strengthen the multi-scale feature extraction capability and anti-interference performance of the model, so as to boost the detection accuracy of tiny lesions. Meanwhile, relying on the optimized detection model, this paper develops an intelligent detection system for apple leaf diseases to realize intelligent recognition and visual detection of disease images, providing a convenient and effective technical solution for intelligent and lightweight orchard disease detection. The main research contents of this paper are summarized as follows:

  1. Construction of apple leaf disease dataset. Part of the data employed in this study was derived from the CVPR 2021 FGVC8 Plant Pathology Recognition Challenge. To address the data deficiency in the Brown spot and Glomerella leaf spot categories, corresponding samples were additionally collected.
  2. Proposal of apple leaf disease detection model. Aiming at the characteristics of subtle apple leaf lesions and easy loss of detailed information, this paper proposed ALDNet (Apple Leaf Disease Network) for apple leaf disease detection. It further enhanced the model’s ability to extract subtle disease features and improves detection performance in practical scenarios.
  3. Development of intelligent detection system. A visual intelligent detection system was built based on the well-trained model, supporting fast image uploading, automatic disease identification and real-time result output.

2. Materials and methods

2.1. Experimental materials

The dataset used in this study was derived from the CVPR2021 FGVC8 Plant Pathology Recognition Challenge [19]. This dataset has been adopted in numerous similar academic studies, possessing high data authority and applicability [20,21]. All images in this dataset are captured in real and complex field environments with scenarios consistent with actual cultivation conditions, which lay a solid data foundation for training the generalization capability of the model.

The original dataset contains 18632 images in total. On this basis, fine-grained screening was conducted, and a total of 4841 valid samples were finally selected. The quantity of each category is presented in Table 1.

The sample quantity of each category was well-balanced and conforms to the actual occurrence probability of diseases. The dataset covers four types of apple leaf diseases and one category of healthy leaves for control group.

To address the problems of incomplete disease category coverage and the absence of several common field diseases in existing datasets, and further improve the practical applicability of the model for on-site apple leaf disease detection, this study supplemented two prevalent field apple leaf diseases, namely brown spot disease and Glomerella leaf spot, and collected corresponding samples through independent shooting. The publicly available FGVC8 dataset used in this study contains apple leaf images collected at different growth and maturity stages, under different acquisition times, and with various camera focal lengths. Therefore, the natural scene-based random acquisition strategy adopted for the self-collected dataset is consistent with the diversity reflected in the public dataset. The combination of these two datasets further enriches the samples under different imaging conditions and disease manifestations.

The images were captured using the rear camera of an iPhone 15 Pro, with the main camera featuring a 48-megapixel resolution. All samples were gathered under soft natural light without harsh glare, so as to avoid leaf reflection, excessive shadow caused by direct strong light and blurred details under dim light conditions. This acquisition method could truly restore the natural morphology of apple leaves and actual lesion characteristics. The self-collected images in this study were mainly obtained through random acquisition in natural orchard environments. The purpose was not to establish a standardized image dataset with strictly controlled shooting distances, angles, backgrounds, and disease development stages, but rather to preserve the natural variations existing in real orchard scenarios. This strategy increases data diversity and improves the generalization capability and robustness of the model in practical application environments. Ultimately, 81 brown spot disease images and 104 anthracnose leaf blight images were obtained. The integrated dataset included seven categories of apple leaf samples in total, which provided sufficient and standardized sample support for model optimization and experimental verification. Typical examples of the collected images are shown in Fig 1.

thumbnail
Fig 1. Self-collected dataset.

* The source photographs were taken by the authors and are published under the CC BY 4.0 license.

https://doi.org/10.1371/journal.pone.0363378.g001

2.2 Experimental methods

2.2.1 Data preprocessing.

The dataset used in this study consists of the publicly available dataset from the CVPR 2021 FGVC8 Plant Pathology Recognition Challenge and a self-collected dataset. Compared with the public dataset, the self-collected dataset contains a relatively limited number of samples, resulting in a considerable difference in sample size between the two data sources. This imbalance may, to some extent, affect the model’s ability to sufficiently learn diverse disease characteristics and may limit its generalization capability. To address this issue, multiple data augmentation techniques were applied to expand the self-collected dataset, thereby increasing sample diversity and reducing the potential impact of sample imbalance on model training. This strategy was intended to improve the generalization capability of the model.

The adopted augmentation methods mainly included rotation, Gaussian blur, random cropping and random brightness adjustment. Images after data augmentation are displayed in Fig 2. The detailed quantity statistics of self-collected disease samples are listed in Table 2.

thumbnail
Fig 2. Data enhancement example.

* The source photographs were taken by the authors and are published under the CC BY 4.0 license.

https://doi.org/10.1371/journal.pone.0363378.g002

We collected our self-collected dataset in September 2025. The sampled apple cultivars were Fuji and Gala, from an orchard with more than 200 apple trees. All images were captured from distinct individual leaves; no repeated photographs were taken of the same leaf or the same tree. Disease identification was performed in two ways. Some naturally infected leaves collected in the orchard exhibited typical late-stage lesions, and the disease types were identified visually according to characteristic foliar symptoms. The other diseased leaves were obtained via artificial inoculation in the field, where target diseases were introduced to induce corresponding symptoms for reliable disease confirmation. Finally, 81 original images of brown spot and 104 original images of Glomerella leaf spot were acquired.

After data augmentation, 1,785 images were obtained and combined with the publicly available CVPR2021 FGVC8 dataset, resulting in a final apple leaf disease dataset comprising 6,626 images.

To enable the model to learn disease features accurately, this study used the LabelImg tool to manually label lesion areas on apple leaves. All annotation files were uniformly stored in TXT format compatible with YOLO-series models, and the annotation results are presented in Fig 3.

thumbnail
Fig 3. Example of dataset annotation.

* The source photographs were taken by the authors and are published under the CC BY 4.0 license.

https://doi.org/10.1371/journal.pone.0363378.g003

For the publicly available FGVC8 dataset, the disease type corresponding to each image was first identified based on the leaf disease class labels provided by the dataset. Subsequently, the specific lesion regions on each leaf were annotated with bounding boxes according to visual characteristics such as lesion color and morphology. Since most leaves in the FGVC8 dataset exhibit a single disease, lesion regions were primarily identified based on the known disease class of each leaf. Regions for which the lesion boundaries could not be reliably determined from the visible symptoms were left unannotated. For lesion boundary delineation, rectangular bounding boxes were defined based on the maximum length and maximum width of each lesion region to ensure that the lesion was covered as completely as possible. Multiple spatially separated lesions with clearly distinguishable boundaries were annotated individually using separate bounding boxes. When multiple lesions of the same disease class overlapped and their individual boundaries could not be reliably distinguished, they were treated as a single lesion region and annotated with one bounding box. In cases where lesions belonging to different disease classes overlapped, the annotation boundaries for each class were determined primarily according to their clearly distinguishable non-overlapping regions. Overlap between bounding boxes of different disease classes was minimized whenever possible, thereby reducing the potential impact of disease-class ambiguity on model training.

During screening, we retained images mainly containing intact apple leaves, where lesions or healthy regions were visually distinguishable to support manual annotation. Images were excluded if they suffered from motion blur, overexposure or underexposure that made lesion textures unrecognizable, if the leaf occupied only a small proportion of the frame with heavy occlusion, if the leaf was largely cropped, or if they contained disease types outside the scope of this study. Samples with co-infection of multiple diseases were retained, and bounding boxes were drawn separately for lesions of different diseases following a unified annotation standard. Low-quality images with motion glare, severe occlusion or barely recognizable lesions, as well as ambiguous samples where the disease category and lesion boundary could not be reliably identified, were directly discarded.

Specifically, for Healthy leaves, the entire visible region of intact healthy leaves was annotated as a single area. Rust mainly appears as small orange-yellow or yellow-orange powdery spots on the leaf surface. Powdery mildew is characterized by a white powdery coating on the leaf surface, and continuous covered regions were annotated as a whole. Scab typically appears as irregular brown or dark-brown lesions. Frog-eye leaf spot is mainly manifested as approximately circular or irregular lesions, with lesion centers usually appearing grayish-white or light brown, forming a distinct “frog-eye” appearance. Brown spot is characterized by circular or irregular brown to dark-brown lesions, with some lesions exhibiting darker-colored edges. Glomerella leaf spot mainly presents as brown to dark-brown necrotic lesions on the leaf surface.

To ensure consistency in the annotation criteria throughout the entire dataset, all images were annotated by designated annotators according to predefined and unified annotation guidelines. After the initial annotation process, the annotation results were carefully reviewed, and samples containing annotation errors or inaccurate labels identified during the review process were corrected to obtain the final annotation results.

The dataset was subsequently divided into training and validation sets at a ratio of 8:2. During dataset partitioning, each original image and its corresponding augmented images were treated as a single grouping unit and assigned to the same subset. This ensured that samples derived from the same original image did not appear in both the training and validation sets, thereby effectively preventing data leakage. The training set was applied for iterative learning of model weights, and the validation set was used to evaluate the practical detection performance of the model.

The independent test set in this study was collected from two sources. Images of Brown spot, Healthy leaf and rust were derived from the public ATLDSD dataset. This dataset was originally built for semantic segmentation and only provides segmentation masks. In this work, bounding boxes for object detection were generated by extracting the outer contour of segmentation masks. Images of Powdery mildew, Scab, Frog-eye leaf spot and Glomerella leaf spot anthracnose were collected from the Internet and manually annotated with bounding boxes, with 5 original images per class.

2.2.2 Analysis of lesion size distribution.

The Fig 4 illustrates the distribution of normalized bounding-box areas for the entire dataset and the seven apple leaf disease categories. The x-axis represents the normalized bounding-box area, which indicates the relative proportion of the target within the image. A value closer to 0 indicates a smaller target, while a value closer to 1 represents a larger target. The y-axis denotes the probability density, reflecting the distribution density of samples within different size intervals.

thumbnail
Fig 4. Histogram of pixel-area distributions of lesion bounding boxes for different categories.

(a) Overall dataset distribution; (b) Glomerella leaf spot; (c) Brown spot; (d) Frog-eye leaf spot; (e) Rust; (f) Powdery mildew; (g) Scab; (h) Healthy.

https://doi.org/10.1371/journal.pone.0363378.g004

The overall distribution demonstrates observable differences in lesion size among different disease categories. The Rust, Glomerella leaf spot, Scab, and Healthy categories exhibit obvious left-skewed distributions, with a large proportion of samples concentrated in the small-area region near 0, indicating a high proportion of small targets. The Brown spot category shows a relatively broad distribution range, with the peak located in the middle-to-lower normalized area range, and contains lesions of various scales, including small, medium, and large sizes. The Frog-eye leaf spot category presents a peak distribution at moderate normalized areas while also containing both small lesions and medium-to-large lesions. The Powdery mildew category exhibits a bimodal distribution, indicating that both small and medium-sized targets account for relatively high proportions.

Overall, most annotated targets in the dataset are dominated by small-scale lesions, which increases the difficulty of accurate localization and recognition and provides a challenging scenario for evaluating the detection capability of the proposed model.

2.2.3 ALDNet model construction.

YOLOv26 is a high-performance single-stage real-time object detection model with an end-to-end inference paradigm. It can simultaneously complete feature extraction, object classification and bounding box regression without generating candidate boxes, which greatly simplifies the detection pipeline and reduces inference latency [22,23]. Compared with traditional detection algorithms, YOLOv26 has the merits of lightweight structure, fast inference speed, strong generalization ability and easy deployment. It is well applicable to real-time detection scenarios on mobile terminals and embedded devices, and highly suitable for real-time crop disease detection in complex field environments [24].

In this paper, an apple leaf disease detection model named ALDNet was proposed based on YOLOv26. Aiming at the practical difficulties in apple leaf disease detection, targeted optimizations were implemented on the original YOLOv26. The lightweight YOLOv26-n model was adopted as the baseline in this study, and the proposed network was developed by modifying this baseline. Specifically, the Swin Transformer was introduced into the P5/32 feature extraction stage of the backbone network, with the configuration of depth = 2, num_heads = 8, and window size = 4. The MSAM (Multi-Scale Cross-Axis Attention Module) module was embedded into the P3/8 small-object feature branch of the detection head to enhance the representation of fine-grained disease features. In addition, the NWD loss was incorporated for bounding-box regression, with the normalization constant C set to 12.8. The specific locations of these modifications are illustrated in Fig 5.

To address the large size variation of apple‑leaf lesions and insufficient global feature modeling capability, Swin Transformer modules are introduced only into the P5/32 feature‑extraction stage of the YOLOv26‑n backbone, instead of replacing the whole backbone network. It enhanced the ability to capture global contextual information and improved the model’s feature extraction performance for multi-scale disease targets. As a hierarchical visual Transformer architecture, Swin Transformer mainly adopts window self-attention mechanism to constrain computational range. It constructs long-range pixel dependencies while cutting computational costs, and realizes layer-by-layer dimensionality reduction and encoding of multi-scale features via hierarchical merging operations [25,26]. It possesses stronger global modeling capability than conventional convolutional networks, and can fully capture the overall leaf texture distribution and spatial positional correlation of lesions. Its structure is marked as ① in Fig 5.

To solve the problem that faint leaf lesion features are difficult to extract effectively, the MSAM was embedded into the feature fusion layer. It adaptively increases the weight of valid disease features and suppresses redundant background information to realize weak disease feature enhancement. MSAM extracts features with different receptive fields through multi-branch convolution groups, and integrates cross-dimensional feature interaction mechanism and adaptive spatial weight allocation strategy to achieve weak object feature enhancement and background noise suppression [27]. The MSAM module is deployed in the high-resolution P3/8 branch of the neck network, following the C3k2 module after feature fusion, to enhance the fused P3 features. The enhanced features are then propagated along two paths: one is directly fed into the Detect module for small-scale lesion detection, while the other is down-sampled and subsequently used for feature fusion in the P4 branch. This placement enables the model to fully exploit the fine-grained spatial and texture information preserved in the P3 features, thereby enhancing its representation capability for small-scale lesions, particularly those with blurred boundaries and subtle visual characteristics. Its detailed structure is shown as ② in Fig 5, and its working principle is elaborated as follows.

Set the input characteristic diagram as . Multiple groups of feature components are obtained through multi-scale convolution branch extraction, and the aggregation operation expression is:

(1)

Then feature interaction fusion is completed through cross axis attention, and the final spatial attention weight is calculated as:

(2)

Module final output enhancement features:

(3)

Here, σ is the sigmoid activation function, represents the element-by-element multiplication operation.

Aiming at the characteristics of variable sizes and diverse morphologies of apple leaf lesions, MSAM can adaptively match lesion features of different scales, accurately amplify the feature response of tiny faint lesions, and improve the model adaptability to multi-scale diseases.

Additionally, considering that tiny lesions account for a large proportion in the apple leaf dataset with extremely small target scales, traditional IoU-based loss functions calculate errors relying on the overlapping area between predicted boxes and ground-truth boxes. They are highly sensitive to position deviation of tiny lesions, and thus easily cause vanishing gradient, unstable training convergence and poor localization accuracy. To address these issues, this study introduces the NWD loss function to optimize the bounding box regression branch of the model.

Abandoning the overlap constraint, NWD models detection bounding boxes as two-dimensional Gaussian distributions, and realizes error constraint by measuring the distribution difference between ground-truth boxes and predicted boxes. It effectively solves the training difficulties including non-overlapping states and gradient failure of small targets. Its corresponding structure is marked as ③ in Fig 5.

Let the coordinate parameters of the ground-truth box be (xg, yg, wg, hg) and those of the predicted box be (xp, yp, wp, hp). The corresponding two-dimensional Gaussian distributions are constructed respectively, and the formula for calculating the second-order Wasserstein distance between them is shown in Equation (4).

(4)

The obtained Wasserstein distance is normalized to establish the final NWD loss function, as presented in Equation (5).

(5)

Here, C is a fixed scale normalization constant rather than an adaptive parameter dynamically adjusted during the training process. C was set to 12.8.

This loss function can continuously provide valid gradient updates for tiny lesions, greatly reduce the difficulty of training and optimization for small targets, and remarkably improve the localization accuracy and generalization ability of the model for subtle apple leaf diseases. Combining multiple improvement strategies including Swin Transformer-based feature extraction, MSAM attention-based feature enhancement and NWD loss optimization, this paper finally establishes the ALDNet detection model, which is well adapted to complex field scenarios and highly optimized for subtle apple leaf diseases.

2.2.4 Evaluation indicators.

This study used Precision, Recall, and mAP (Mean Average Precision) to evaluate the performance of the ALDNet model.

Precision is the ratio of the number of correctly predicted positive samples to the total number of correctly predicted samples. The calculation formula is shown in Formula (6).

(6)

Recall is the ratio of the number of correctly predicted positive samples to the total number of true positive samples. The calculation formula is shown in Formula (7).

(7)

Here, TP is the number of true positive samples; TN is the number of true negative samples. FP is the number of false positive samples; FN is the number of false negative samples.

mAP is calculated by averaging the Average Precision (AP) for each class. Common mAP evaluation indicators include mAP@0.5 and mAP@0.5:0.95. mAP@0.5 represents the average of average precision of the model when the IoU reaches 0.5. On the other hand, mAP@0.5:0.95 is the average of the average precisions in the range of IoU from 0.5to 0.95. Overall, mAP@0.5 focuses on the overall detection performance of the model, while mAP@0.5:0.95 evaluates the performance of the model at IoU thresholds. The calculation formula is shown in Formula (8) and Formula (9).

(8)(9)

Here, N is the total number of classes; APi is the average precision of class i at IoU = 0.5; k: IoU threshold index, corresponding to the set T∈{0.5,0.55,0.6,0.65,0.7,0.75,0.8,0.85,0.9,0.95}; APi,k: average precision of the i-th category at the k-th IoU threshold.

3. Results and analysis

3.1 Experimental environment and setup

A All models evaluated in this study were trained and tested under the same hardware and software environment, identical dataset partitioning, and consistent training configurations. The experimental platform was based on Ubuntu 22.04, equipped with an NVIDIA RTX 3090 GPU. The deep learning framework was PyTorch 2.1.2, with Python 3.10 and CUDA 12.1. For the YOLO-series models, SSD, and Faster R-CNN, the input image resolution was uniformly set to 640, the batch size was set to 32, and all models were trained for 100 epochs. The SGD optimizer was adopted for all experiments, with an initial learning rate of 0.01 and a linear learning rate decay strategy. Furthermore, the number of Params and FLOPs of each model were calculated and reported to provide a comprehensive comparison in terms of model size and computational complexity.

To ensure reproducibility, additional training hyperparameters were configured as follows. The random seed was set to 0. The weight decay, momentum, warm-up epochs, warm-up momentum, and warm-up bias learning rate were set to 0.0005, 0.937, 3 epochs, 0.8, and 0.1, respectively. During training, data augmentation strategies including HSV color augmentation, random translation, random scaling, horizontal flipping, and Mosaic augmentation were applied. The Mosaic augmentation was disabled during the final 10 epochs, while all other unused augmentation parameters were set to 0. The confidence threshold was not manually specified and the default value provided by the YOLOv26 framework was adopted.

No pretrained weights were used during training, and all models were randomly initialized and trained from scratch. Due to the architectural modifications introduced by multiple custom modules, the official YOLOv26-n pretrained weights are dimensionally incompatible with the proposed model and therefore cannot be directly loaded.

3.2 Evaluation and analysis of model improvements

3.2.1 Analysis of ablation study of improved module.

To systematically investigate the impact of each proposed module on model performance, YOLOv26 was adopted as the baseline model (Base). Swin Transformer, MSAM, and NWD were individually incorporated into the baseline model, followed by experiments with different combinations of these modules. Finally, the three improvement strategies were integrated together to construct the proposed ALDNet model. By comparing the performance differences among models in different stages, the contribution of each improved component to network overall performance could be clearly verified. The training processes of mAP@0.5 and mAP@0.5:0.95 metrics are shown in Fig 6(a) and Fig 6(b).

thumbnail
Fig 6. mAP convergence curves of ablation models over training epochs.

https://doi.org/10.1371/journal.pone.0363378.g006

Fig 6 showed the training iteration curves of mAP@0.5 and mAP@0.5:0.95 of all models, which could intuitively reflect their training convergence characteristics and stability.

It could be observed from Fig 6 that the detection accuracy indicators of all models presented a steady rising trend and gradually converged as the training epochs increased. After 100 training iterations, the values of mAP@0.5 and mAP@0.5:0.95 tended to stabilize without obvious oscillation or decline, which indicated that both the baseline model and the improved model achieved effective convergence. Meanwhile, the mAP@0.5 and mAP@0.5:0.95 curves of ALDNet with multi-module improvements were consistently higher than those of other control models. It achieved the optimal convergence accuracy and possessed better training stability. The results further verified that the proposed improvement strategies effectively optimized the model training process and boosted the overall performance in apple leaf disease detection.

According to the experimental results in Table 3, the baseline model achieved mAP@0.5, mAP@0.5:0.95, Precision, and Recall values of 0.909, 0.607, 0.875, and 0.827, respectively. In the single-module ablation experiments, after introducing the Swin Transformer, the four metrics increased to 0.926, 0.644, 0.890, and 0.854, respectively, with an improvement of 3.7% in mAP@0.5:0.95 compared with the baseline model. After incorporating MSAM, the corresponding values reached 0.924, 0.639, 0.888, and 0.851. The performance of MSAM was comparable to that of Swin Transformer, while requiring fewer parameters and lower computational cost, indicating that MSAM can improve detection performance with relatively limited additional computational overhead.

thumbnail
Table 3. Comparison of ablation study results.

https://doi.org/10.1371/journal.pone.0363378.t003

With the independent introduction of NWD, the model achieved mAP@0.5, mAP@0.5:0.95, and Recall values of 0.919, 0.619, and 0.867, respectively. Although its mAP@0.5 and mAP@0.5:0.95 were lower than those obtained by independently introducing MSAM or Swin Transformer, the Recall increased by 4.0% compared with the baseline model and was 1.6% and 1.3% higher than those of MSAM and Swin Transformer, respectively. Among the three single-module strategies, NWD achieved the highest Recall, suggesting that it contributes to improving the detection capability of lesion targets.

In the dual-module combination experiments, different modules exhibited complementary effects. The mAP@0.5 values of Swin Transformer+NWD and MSAM+NWD both reached 0.930, which were higher than that of Swin Transformer+MSAM, indicating that combining NWD with feature enhancement modules may further improve overall detection performance. Among these combinations, Swin Transformer+NWD achieved relatively better performance in terms of mAP@0.5:0.95 and Recall, whereas MSAM+NWD obtained the highest Precision among the dual-module combinations, although its mAP@0.5:0.95 was relatively lower.

When all three improvement strategies were integrated, the proposed ALDNet achieved mAP@0.5, mAP@0.5:0.95, Precision, and Recall values of 0.937, 0.650, 0.918, and 0.866, respectively. Compared with the baseline model, these metrics increased by 2.8, 4.3, 4.3, and 3.9 percentage points, respectively, demonstrating improved overall detection performance in this ablation study.

To provide a more intuitive comparison of the performance differences among different model configurations, the mAP@0.5, mAP@0.5:0.95, Precision, and Recall values of each model were visualized, as shown in Fig 7. Overall, the baseline model exhibited relatively limited detection performance. The individual introduction of Swin Transformer, MSAM, and NWD improved different aspects of model performance, while each module showed different contributions to the detection results. Although the multi-module combinations exhibited some variations across different metrics, they generally achieved better comprehensive performance. The ALDNet model integrating Swin Transformer, MSAM attention mechanism, and NWD loss achieved the highest values of mAP@0.5, mAP@0.5:0.95, and Precision among the evaluated configurations while maintaining a competitive Recall, demonstrating a balanced detection capability.

thumbnail
Fig 7. Comparison results of detection performance indicators of each ablation model.

(a). mAP@0.5 indicators; (b). mAP@0.5:0.95 index; (c). Precision indicator; (d). Recall indicator.

https://doi.org/10.1371/journal.pone.0363378.g007

This study further analyzed the results of the original ablation experiments. Compared with the baseline model, the introduction of MSAM increased the number of parameters from 2.376 M to 2.429 M, corresponding to an increase of only approximately 2.24%. The computational cost increased from 5.2 GFLOPs to 5.4 GFLOPs, representing an increase of approximately 3.85%, while the model size increased from 5.4 MB to 5.6 MB. In contrast, mAP50 and mAP50–95 improved by 1.5 and 3.2 percentage points, respectively. These results demonstrate that MSAM achieves substantial improvements in detection performance with only a modest increase in computational overhead.

Table 4 summarizes the detection performance of different model architectures on the augmented test set. It can be observed that incorporating the Transformer module, MSAM module and NWD loss function can effectively boost the detection performance compared with the Base baseline. The proposed model achieves an mAP@0.5 of 0.768, an mAP@0.5:0.95 of 0.516, a precision of 0.681 and a recall of 0.749. Among all ablation combinations, the MSAM+NWD variant yields the highest recall of 0.810, while our model obtains the optimal mAP@0.5:0.95, demonstrating its advantages in localizing multi-scale and subtle disease lesions. Compared with the Base baseline, our model improves mAP@0.5, mAP@0.5:0.95 and precision by 0.043, 0.036 and 0.033, respectively. It should be noted that the recall of our model is not the highest among all ablation schemes, yet it remains at a reasonable level. Considering multiple evaluation metrics comprehensively, the ours model achieves favourable overall detection capability for apple leaf diseases.

thumbnail
Table 4. Detection performance comparison of different models on the augmented test set.

https://doi.org/10.1371/journal.pone.0363378.t004

3.2.2 Sensitivity analysis of the scale constant C of NWD loss.

The scale constant C in the NWD loss function is used to normalize the Wasserstein distance and may affect the measurement scale of the loss function and the resulting detection performance. It should be noted that C is a predefined fixed scale normalization constant rather than an adaptive parameter dynamically adjusted during training. To investigate the influence of different values of C on model performance and to verify the rationality of the parameter setting adopted in this study, a sensitivity analysis of C was further conducted.

Comparative experiments were performed with C set to 10, 12.8, and 15. During these experiments, the model architecture, dataset partitioning, training strategy, and all other training parameters were kept identical, with only the value of C in the NWD loss being varied to minimize interference from other factors. The detection performance obtained with different values of C is presented in Table 5.

thumbnail
Table 5. Comparison of model detection performance under different scale constants C.

https://doi.org/10.1371/journal.pone.0363378.t005

The experimental results show that the overall detection performance varied only slightly as C increased from 10 to 15. Specifically, the standard deviations of mAP@0.5 and mAP@0.5:0.95 across the three tested values of C were only 0.0014 and 0.0012, respectively, indicating minimal performance variation. These relatively small variations indicate that changes in C within the tested range do not substantially affect the detection performance, demonstrating that the model is relatively robust to the choice of this scale constant.

3.2.3 Robustness Analysis under Different Random Seeds.

The experimental results obtained with three different random seeds demonstrate that the performance of each model configuration remained generally stable. The specific results are shown in Table 6. Based on the repeated experiments under different random seeds, all models exhibited relatively small variations across the evaluation metrics, indicating consistent overall performance. Compared with the Base model, the optimized models incorporating the Transformer, MSAM, and NWD Loss modules achieved varying degrees of improvement in multiple detection metrics, including Precision, Recall, and mean Average Precision, further validating the effectiveness of the proposed modules. Among these models, the proposed Transformer + MSAM + NWD fusion model achieved the most competitive performance. It obtained the highest average Precision and mAP@0.5 values among all compared models, reaching 0.899 ± 0.018 and 0.922 ± 0.014, respectively. Compared with the Base model, the Precision and mAP@0.5 were improved by 0.017 and 0.010, respectively.

thumbnail
Table 6. Detection results of different models under three random seed settings.

https://doi.org/10.1371/journal.pone.0363378.t006

Furthermore, the Transformer + MSAM + NWD model achieved a standard deviation of only 0.005 for mAP@0.5:0.95, representing the smallest variation among all models. This result indicates that the proposed model exhibits better experimental stability under different random seed settings. The detection results of different models under different random seeds are illustrated in Fig 8.

thumbnail
Fig 8. Comparison of evaluation metrics for different models under different random seed settings.

(a) Precision; (b) Recall; (c) mAP@0.5; (d) mAP@0.5:0.95.

https://doi.org/10.1371/journal.pone.0363378.g008

3.3 Comparison and analysis of mainstream object detection algorithms

To verify the comprehensive competitiveness of the proposed ALDNet model, comparative experiments are conducted with mainstream detection models including SSD, Faster R-CNN, YOLOv8, YOLOv10, YOLOv11 and YOLOv12. The experimental results are listed in Table 7.

thumbnail
Table 7. Comparison results of mainstream models.

https://doi.org/10.1371/journal.pone.0363378.t007

It could be observed that traditional detection algorithms exhibit unsatisfactory overall performance. SSD and Faster R-CNN achieved much lower mAP@0.5 and mAP@0.5:0.95 values than YOLO-series algorithms, and suffer from large model parameters and high computational cost, which made them unsuitable for real-time apple leaf disease detection in field scenarios. New-generation YOLO models delivered comparable detection performance with slight overall accuracy gaps. In contrast, ALDNet shows prominent comprehensive competitiveness. It achieves mAP@0.5 of 0.937, mAP@0.5:0.95 of 0.65, and Precision of 0.918, which surpass most compared models. Its Recall reaches 0.866, which remains competitive, though Faster R‑CNN yields a higher Recall of 0.920 at the cost of extremely large model size. Compared with YOLOv8, which delivered the best performance among the baseline YOLO‑series models, ALDNet raises mAP@0.5 by 2.2 percentage points and mAP@0.5:0.95 by 3.9 percentage points, which effectively improves the detection and localization capability for multi‑scale and subtle lesions.

In terms of model size, the weight file of ALDNet was only 8.1 MB. Although it is slightly larger than original lightweight YOLO models, it was far more lightweight than traditional detection models with acceptable computational consumption.

As shown in Table 7, the detection results of SSD and Faster R-CNN differ considerably from those of the YOLO-series models. Although all models were trained under the same primary training configurations, SSD, Faster R-CNN, and YOLO-series models exhibit distinct differences in detection mechanisms, positive and negative sample assignment strategies, and classification and localization paradigms. Therefore, their adaptability to the current dataset is not necessarily consistent under identical experimental conditions.

In particular, both SSD and Faster R-CNN exhibited the coexistence of relatively high Recall and lower Precision, indicating that these models were capable of detecting more actual targets but also generated more false-positive predictions, resulting in reduced Precision. It should be noted that the primary objective of this experiment was to compare the overall performance of different detectors under a unified experimental framework. Therefore, no extensive hyperparameter tuning or model-specific optimization was conducted for SSD and Faster R-CNN. Consequently, the results presented in Table 5 mainly reflect the performance of each model under the unified experimental settings adopted in this study, rather than their optimal performance after task-specific optimization.

Fig 9 conducted a comprehensive visualized comparison of different detection models in terms of detection performance, category adaptability and deployment characteristics, which intuitively reflects the overall advantages of the proposed model in detection accuracy, category balance, classification precision and lightweight deployment.

thumbnail
Fig 9. Comprehensive performance comparison and characteristic analysis of mainstream detection models.

(a). mAP@0.5 values of different models; (b). mAP@5:0.95 values of different models; (c). Precision and Recall values of different models; (d). F1-score of ALDNet in each category; (e). Confusion matrix of ALDNet; (f). Weight file size of different models.

https://doi.org/10.1371/journal.pone.0363378.g009

Fig 9(a) and Fig 9(b) illustrated the performance of various models in terms of mAP@0.5 and mAP@0.5:0.95 respectively. It could be seen that ALDNet ranks at the outermost layer in both core accuracy metrics, with values obviously higher than those of mainstream single-stage models including YOLOv8, YOLOv10, YOLOv11, YOLOv12 and traditional detection algorithms such as SSD and Faster R-CNN, which fully demonstrated its superiority in disease detection accuracy and multi-scale object localization capability. Fig 9(c) presented the comparison results of precision and recall among all models. ALDNet also achieved leading performance on these two indicators. It effectively reduces false detection rate and greatly improved the detection capability of disease targets, thus possessing higher overall detection reliability.

Fig 9(d) showed the F1-score of ALDNet for different disease categories. The results indicated that the model maintains high F1-scores for various diseases such as rust disease, powdery mildew, scab disease and brown spot disease. In particular, the F1-score for scab disease reached up to 0.977. It proves that the model delivers balanced and stable performance across all categories and possesses strong generalization ability.

Fig 9(e) displayed the confusion matrix of ALDNet. It should be noted that the values in the confusion matrix represent the number of lesion instances rather than the number of images. Since a single leaf image may contain multiple independent lesions, the number of lesion instances can be considerably higher than the corresponding number of images for each category. The detailed instance statistics for each category are presented in Table 8.

thumbnail
Table 8. Category-wise statistics of the validation set.

https://doi.org/10.1371/journal.pone.0363378.t008

In the matrix, columns represent predicted categories and rows represent real categories of samples, while values on the main diagonal stand for the quantity of correctly identified samples. The model achieves high overall recognition accuracy for various diseases. For instance, 889 rust disease samples are correctly identified with only 2 samples misclassified as frog-eye spot; 262 powdery mildew samples are accurately recognized with merely 1 sample misjudged as scab disease.Nevertheless, a certain number of actual disease samples are classified as background. Specifically, 155 rust disease samples, 52 powdery mildew samples, 202 frog-eye spot samples and 75 black spot disease samples are misclassified into the background class. This phenomenon mainly results from low contrast between early-stage lesions and leaf backgrounds, as well as weakened lesion features caused by leaf folding and occlusion, leading to misclassification of partial lesions. On the whole, the model still maintains high recognition accuracy for major disease categories, and such deviations only exist in samples with weak lesion features and severe interference, which do not impair the overall detection effectiveness.

Fig 9(f) intuitively compared the weight file sizes of different models. With a size of only 8.1 MB, the weight file of ALDNet is slightly larger than that of lightweight YOLO-series models but far smaller than SSD (52.5 MB) and Faster R-CNN (145 MB). It verifies that the proposed model maintains favorable lightweight characteristics while ensuring high detection accuracy, and is feasible for deployment on edge devices and in field detection scenarios.

In summary, Fig 9 comprehensively verifies the effectiveness, robustness and practical application value of the proposed model in apple leaf disease detection from the perspectives of accuracy, category performance, classification effect and deployment adaptability.

To further analyze the detection capability of the proposed model for different disease categories, class-wise detection performance was evaluated, and the detailed results are presented in Table 9. The category-level evaluation results indicate that the detection performance varied among different disease classes. Among them, Scab achieved the best detection performance, with a Precision of 0.981, a Recall of 0.974, an AP50 of 0.984, and an AP50–95 of 0.881. Glomerella leaf spot also exhibited high detection performance, with both Precision and Recall reaching 0.944 and an AP50 of 0.986. In contrast, Powdery mildew showed a relatively lower Recall of 0.730, indicating more noticeable missed detections for this category. Similarly, Frog-eye leaf spot achieved a Recall of 0.815, suggesting the presence of certain missed detection cases. These results are consistent with the confusion matrix, where some diseased samples were incorrectly classified as Background. Furthermore, the AP50–95 values were relatively lower for most categories, indicating that the model still has room for improvement in precise localization of disease regions under stricter IoU thresholds.

thumbnail
Table 9. Class-wise detection results of the proposed model.

https://doi.org/10.1371/journal.pone.0363378.t009

3.4 Intelligent detection system

Based on the well-trained ALDNet model, this study deploys it into an intelligent apple leaf disease detection system, and develops an integrated application system covering user authentication, image uploading, model inference and result visualization. The main system interfaces and functional workflow are illustrated in Fig 10.

thumbnail
Fig 10. System interface and design.

(a). System login interface; (b). System detection interface; (c). Overall system workflow; (d). Visualization of detection results.

https://doi.org/10.1371/journal.pone.0363378.g010

Fig 10(a) showed the system login interface, where users can access the system via registration or login operations. Fig 10(b) presented the detection interface, which supports uploading images to be detected and displaying recognition results in real time. Its core functions are as follows: Image uploading and previewing. Users can select single or batch apple leaf images from local files by clicking the Select Picture button. The original images are displayed in real time in the left preview area after uploading, and common formats including JPG and PNG are fully compatible.Model inference and detection. After clicking the Start button, the system automatically invokes the deployed ALDNet model for inference. Detection boxes were overlaid on original images with disease categories and confidence scores marked to clearly locate lesion areas. An identification table was automatically generated on the right result panel. It recorded disease categories, detected quantities and relevant statistical information, including the total number of detected samples, healthy leaves and diseased leaves. This design allowed users to quickly grasp the overall occurrence status of leaf diseases. The system allowed users to export images with detection frames and statistical data to local devices for subsequent analysis and file archiving.

Fig 10(c) displayed the overall system workflow, demonstrating the complete business logic from user authentication to disease detection. After logging in, users enter the detection interface, upload images and trigger inference via the embedded ALDNet model. The system will pop up error prompts and guide users back to the uploading step if detection fails; otherwise, it outputs and visualizes the final recognition results. Fig 10(d) showed the visualized detection effects, which verifies the strong robustness of the model in complex field environments.

To evaluate the inference efficiency of ALDNet, experiments were conducted on an Intel Core i5-12490F CPU using a validation set containing 1,327 images with a batch size of 16. The ALDNet model contains 3.665 M parameters and requires 12.7 GFLOPs of computational cost. The average preprocessing time was 0.4 ms, while the model inference time was 32.6 ms, corresponding to approximately 30.7 FPS.

These results indicate that, under the current CPU-based testing environment, ALDNet exhibits relatively low computational complexity and fast offline inference speed, providing a foundation for further deployment.

At present, the developed system mainly focuses on model integration and offline functional validation, and long-term systematic field testing in real orchard environments has not yet been conducted. In real orchard environments, factors such as unstructured backgrounds, illumination variations, and target occlusions can affect the accuracy and stability of machine vision-based detection. Previous studies have systematically summarized optimization strategies for fruit detection in complex orchard environments and indicated that optimization methods applied before and after image sampling can effectively improve object detection performance under challenging conditions, providing important references for the development of low-cost and highly robust agricultural vision detection systems [28]. These studies provide valuable insights for the development of the apple leaf disease detection model and system deployment proposed in this work, particularly in practical orchard scenarios. Therefore, the system stability and detection failure rates under complex conditions, including varying natural illumination, occlusion, leaf overlap, and different terminal hardware configurations, require further investigation and validation.

In general, the developed system realized the integration and prototype deployment of the ALDNet model. Featuring concise interface and straightforward operation procedures, it provided convenient and reliable technical support for rapid diagnosis of apple leaf diseases.

4. Discussion

4.1 Current limitations of the dataset

The quality and diversity of datasets are essential prerequisites that determine the generalization ability and robustness of detection models [29]. The apple leaf disease dataset constructed in this study contains 6626 images in total, covering healthy leaves and six common disease types, which can well reflect the morphological characteristics and distribution rules of apple leaf diseases under field conditions. Nevertheless, there are still obvious limitations in dataset construction. The original samples of brown spot disease and anthracnose leaf blight are insufficient, with only 81 and 104 images respectively. Although the quantities are expanded to 881 and 904 via data augmentation, their sample scales are still relatively small compared with other disease categories. This easily leads to inadequate feature learning and weak generalization performance of the model for the two diseases. In addition, high morphological similarity among partial diseases further increases the difficulty of fine-grained feature learning.

Restricted by practical field sampling conditions, we cannot fully decouple disease category from image source in the present work. In future research, we plan to implement balanced multi-source sampling: for each target disease, samples will be collected using multiple cameras, at multiple time points and in multiple orchards. This design will collect the same disease under varied acquisition conditions and help disentangle disease symptom features from source-related image artefacts.

In future research, we will further expand the scale of the self-collected dataset by acquiring disease images across different crop growth stages, lesion sizes, and field environments. This will enrich the diversity of real-world disease samples and further improve the generalization performance of the model under complex practical conditions.

4.2 Advantages of ALDNet and future research directions

This study applies deep learning-based object detection technology to apple leaf disease recognition and solves core detection difficulties by optimizing network architecture. Compared with mature applications in human pose estimation and general object detection, crop disease detection still faces multiple challenges including subtle lesion features, severe background interference and large differences among multi-scale targets [30].

Most existing studies adopt traditional convolutional networks or basic YOLO models, which have poor capability in extracting faint lesion features and limited localization accuracy for tiny lesions, thus failing to meet practical detection requirements in orchards [31,32].

Although the proposed ALDNet achieves outstanding detection accuracy, it still has certain deficiencies. Benefiting from the embedded Swin Transformer structure, the model parameters and 8.1 MB weight file are slightly larger than those of lightweight YOLO models, resulting in a slight decrease in inference speed, which imposes certain constraints on deployment on mobile devices with high real-time requirements. Meanwhile, the model still suffers from occasional false detection and missing detection for lesions with extremely low contrast and heavy occlusion, and its feature discrimination ability under complex backgrounds needs further improvement.

Future research will focus on lightweight model optimization. Network pruning, knowledge distillation and other technologies will be adopted to further reduce model volume and accelerate inference speed. Furthermore, future research will incorporate real orchard environments to conduct field testing and comprehensively evaluate the practical deployment performance of the system in terms of end-to-end inference latency, resource consumption, system stability, and detection failure rate. Besides, the feature enhancement module will be optimized to strengthen the extraction capability of faint lesion features in complex scenarios, so as to promote the practical deployment and application of the model on mobile terminals and embedded devices.

5. Conclusion

To enhance the overall performance of apple leaf disease detection, this study developed an improved detection model, ALDNet, based on YOLOv26. The model incorporates the Swin Transformer to enhance global contextual modeling, integrates a MSAM to strengthen the representation of subtle lesion features, and employs the NWD loss function to improve bounding-box regression for small lesions. Furthermore, an intelligent detection system was developed based on the trained ALDNet model, integrating user authentication, image uploading, model inference, and result visualization. Experimental results demonstrate that ALDNet achieves an mAP@0.5 of 93.7%, an mAP@0.5:0.95 of 65.0%, a precision of 91.8%, and a recall of 86.6%, with a model weight size of only 8.1 MB, indicating a favorable balance between detection performance and model complexity. The accompanying intelligent detection system is capable of performing disease identification, data statistics, and visualization of detection results. This study provides a feasible technical approach for intelligent, lightweight, and rapid diagnosis of orchard diseases and may also serve as a reference for related research on intelligent crop disease recognition.

References

  1. 1. Wang X, Sarkar A, Wang H, Zhang F. Does participation in agricultural value chain activities influence smallholder fruit grower production performance? A cross-sectional study of apple farmers in Shandong, China. Horticulturae. 2021;7(6):153.
  2. 2. Zhang F, Sarkar A, Wang H. Does internet and information technology help farmers to maximize profit: A cross-sectional study of apple farmers in Shandong, China. Land. 2021;10(4):390.
  3. 3. Cheng L, Guak S, Fuchigami LH. The relationship between leaf nitrogen content and photosynthesis in apple leaves. HortSci. 1996;31(4):578c–578.
  4. 4. Sha J, Wang F, Chen Q, Jia Z, Du X, Ge S, et al. Characteristics of Photoassimilates Transportation and Distribution to the Fruits from Leaves at Different Branch Positions in Apple. J Plant Growth Regul. 2020;40(3):1222–32.
  5. 5. Wang Z, Li G, Sun H, Ma L, Guo Y, Zhao Z, et al. Effects of drought stress on photosynthesis and photosynthetic electron transport chain in young apple tree leaves. Biol Open. 2018;7(11):bio035279. pmid:30127094
  6. 6. Afsharpour P, Zoughi T, Deypir M, Zoqi MJ. Robust deep learning method for fruit decay detection and plant identification: enhancing food security and quality control. Front Plant Sci. 2024;15:1366395. pmid:38774219
  7. 7. Wani JA, Sharma S, Muzamil M, Ahmed S, Sharma S, Singh S. Machine learning and deep learning based computational techniques in automatic agricultural diseases detection: Methodologies, applications, and challenges. Arch Computat Methods Eng. 2021;29(1):641–77.
  8. 8. Chakraborty S, Paul S, Rahat-uz-Zaman Md. Prediction of Apple Leaf Diseases Using Multiclass Support Vector Machine. In: 2021 2nd International Conference on Robotics, Electrical and Signal Processing Techniques (ICREST). 2021;147–51.
  9. 9. Shi Y, Huang W, Zhang S. Apple disease recognition based on two-dimensionality subspace learning. Comput Eng Appl. 2017;53(22):180–4.
  10. 10. Sk PK, Sumithra MG, Saranya N. Particle swarm optimization (PSO) with fuzzy c means (PSO‐FCM)–based segmentation and machine learning classifier for leaf diseases prediction. Concurrency and Computation: Practice and Experience. 2021;33(3):e5312.
  11. 11. Jiang P, Chen Y, Liu B, He D, Liang C. Real-time detection of apple leaf diseases using deep learning approach based on improved convolutional neural networks. IEEE Access. 2019;7:59069–80.
  12. 12. Liu B, Zhang Y, He D, Li Y. Identification of apple leaf diseases based on deep convolutional neural networks. Symmetry. 2017;10(1):11.
  13. 13. Di J, Li Q. A method of detecting apple leaf diseases based on improved convolutional neural network. PLoS One. 2022;17(2):e0262629. pmid:35104299
  14. 14. Zhang Y, Zhou G, Chen A, He M, Li J, Hu Y. A precise apple leaf diseases detection using BCTNet under unconstrained environments. Comput Electronics in Agriculture. 2023;212:108132.
  15. 15. Zhang X, Li H, Sun S, Zhang W, Shi F, Zhang R, et al. Classification and identification of apple leaf diseases and insect pests based on improved ResNet-50 model. Horticulturae. 2023;9(9):1046.
  16. 16. Hasan S, Jahan S, Islam MdI. Disease detection of apple leaf with combination of color segmentation and modified DWT. Journal of King Saud University - Computer and Information Sciences. 2022;34(9):7212–24.
  17. 17. Haque ME, Farid FA, Siam MK, Absur MN, Uddin J, Abdul Karim H. LeafSightX: An explainable attention-enhanced CNN fusion model for apple leaf disease identification. Front Artif Intell. 2026;8:1689865. pmid:41693760
  18. 18. Zheng S, Yang X, Gao P, Guo Q, Zhang J, Chen S, et al. YOLOv11-IMP: Anchor-free multiscale detection model for accurate grape yield estimation in precision viticulture. Agronomy. 2026;16(3):370.
  19. 19. Thapa R, Zhang K, Snavely N, Belongie S, Khan A. Plant Pathology 2021 - FGVC8. 2021.
  20. 20. Ait Nasser A, Akhloufi MA. A Hybrid Deep Learning Architecture for Apple Foliar Disease Detection. Computers. 2024;13(5):116.
  21. 21. Wang X, Tang SH, Ariffin MKABM, Ismail MISB, Zhao R. LeafMamba: A novel IoT-integrated network for accurate and efficient plant leaf disease detection. Alexandria Engineering Journal. 2025;123:415–24.
  22. 22. Chakrabarty S. Yolo26: An analysis of NMS-free end to end framework for real-time object detection. arXiv preprint. 2026.
  23. 23. Sapkota R, Karkee M. Ultralytics YOLO evolution: An overview of YOLO26, YOLO11, YOLOv8 and YOLOv5 object detectors for computer vision and pattern recognition. arXiv preprint. 2025.
  24. 24. Hasan M, Rabby MKM, Jahan I, Soeb MJA, Jubayer MF. The evolution and advancement of YOLO algorithms in object detection: From real-time breakthroughs to modern architectures. 2025.
  25. 25. Han K, Wang Y, Chen H, Chen X, Guo J, Liu Z, et al. A survey on visual transformer. arXiv preprint. 2020.
  26. 26. Liu R, Zhao J, Tian S, Li G, Chen J. Multi-branch channel-gated swin network for wetland hyperspectral image classification. Remote Sensing. 2025;17(16):2862.
  27. 27. Song X, Bao J, Di Y, Li Y. MSAM: Cross-domain recommendation based on multi-layer self-attentive mechanism. Lecture Notes in Computer Science. Springer Nature Singapore. 2023. p. 319–32.
  28. 28. Tang Y, Qiu J, Zhang Y, Wu D, Cao Y, Zhao K, et al. Optimization strategies of fruit detection to overcome the challenge of unstructured background in field orchard environment: a review. Precision Agric. 2023;24(4):1183–219.
  29. 29. Kroupová, Z, Ehura L, Opatrný M, Hloušková Z, Mlezivová I. Assessment of the impact of agricultural support on crop diversity. 2022.
  30. 30. Tsoy A, Liu Z, Zhang H, Zhou M, Yang W, Geng H, et al. Image-free single-pixel keypoint detection for privacy preserving human pose estimation. Opt Lett. 2024;49(3):546–9. pmid:38300055
  31. 31. Alif MAR, Hussain M. YOLOv1 to YOLOv10: A comprehensive review of YOLO variants and their application in the agricultural domain. 2024.
  32. 32. Du F-J, Jiao S-J. Improvement of lightweight convolutional neural network model based on YOLO algorithm and its research in pavement defect detection. Sensors (Basel). 2022;22(9):3537. pmid:35591227