Journal of Electronic Science and Technology, Volume. 23, Issue 1, 100300(2025)

Grape Guard: A YOLO-based mobile application for detecting grape leaf diseases

Sajib Bin Mamun1, Israt Jahan Payel1, Md. Taimur Ahad1,2、*, Anthony S. Atkins3, Bo Song4, and Yan Li5
Author Affiliations
  • 1Department of Computer Science and Engineering, Daffodil International University, Dhaka, 1207, Bangladesh
  • 2Department of Computer Science, University of Southern Queensland, Toowoomba, 4350, Australia
  • 3Faculty of Digital, Technology, Innovation, and Business, Staffordshire University, Stoke-on-Trent, ST4 2DE, United Kingdom
  • 4School of Engineering, University of Southern Queensland, Toowoomba, 4350, Australia
  • 5School of Mathematics, Physics and Computing, University of Southern Queensland, Toowoomba, 4350, Australia
  • show less
    Figures & Tables(16)
    Framework for grape leaf disease detection.
    Grape leaf images of each label (from the grape leaf disease dataset).
    YOLOv8 detection process.
    Precision confidence curve of YOLOv8 with image size 640×640.
    Recall confidence curve of YOLOv8 with image size 640×640.
    Precision confidence curve of YOLOv5 with image size 640×640.
    Recall confidence curve of YOLOv5 with image size 640×640.
    TFLite model gerenating process.
    Testing results of generated TFLite model.
    Internal architecture of Grape Guard application.
    Grape Guard application testing.
    • Table 1. Research matrix

      View table
      View in Article

      Table 1. Research matrix

      AuthorDatasetModelResultsContribution
      Lu et al. [3]GLDP12kGhost convolution enlightened the transformerAccuracy: 98.14%It proposed a transformer-based network that generates intermediate feature maps.
      Li et al. [4]Two small-scale datasetsDCTAccuracy: 89.19% Accuracy: 93.92%Proposed a DCT model where the transformer serves as the backbone of this model.
      Lu et al. [5]Washington State University (WSU) Roza Experimental Orchards, Prosser, WASwin-T-YOLOv5mAP: 97%Developed Swin-T-YOLOv5 by architecturally integrating YOLOv5 and Swin-transformer detectors.
      Praveen et al. [6]Plant Village DatasetYOLO-X with with SE, ECA, and CBAM attentionPrecision: 89.77%,Recall: 86.97%,F1 Score: 85.91%, and mAP: 88.96%Combined attention techniques such as CBAM, SE, and ECA with YOLO to improve GLDD.
      Xie et al. [7]GLDD datasetFaster DR-IACNNmAP: 81.1%Enhanced the Faster R-CNN model with Inception-v1, Inception-ResNet-v2 modules, and SE blocks to improve feature extraction.
      Kong et al. [8]Jilin Agricultural UniversityYOLOv5 network and transformer modulemAP@0.5: 84.3%YOLOv5 network and transformer module were used to detect targets.
      Shaheed et al. [9]PlantVillage repositoryEfficient RMT-NetAccuracy: 97.65%Accuracy: 99.12%A combinational model with vision transformer and ResNet-50 where efficient RMT-Net, distinct features are extracted using the CNN model.
      Xia et al. [10]Research Institute of Pomology of Chinese Academy of Agricultural Sciences in Xingcheng and the Beijing Vocational College of Agriculture in Beijing, ChinaMTYOLOXAP50: 83.4%AR50: 93.3%Developed ST-PAFPN module and DAT-Darknet module, which are embedded into the backbone and neck of the network based on multiple self-attention mechanisms.
      Leng et al. [11]NLB datasetYOLOv5mAP@0.5: 87.5%Introduced the feature restructuring and fusion module, which focuses on retaining critical information during downsampling.
      Lu et al. [12]WGISDCMA-YOLOPrecision: 89.6%F1 score: 86.5% AP: 90.2%Introduced a YOLOv5-based model that integrates dual-stream data loading, mosaic augmentation, global self-attention, and a CMA-C3 module to enhance grapefruit detection accuracy.
      Feng et al. [13]Xiaotangshan National Precision Agriculture Demonstration BaseYOLOv5s+BiCMTAccuracy: 99.23%Precision: 97.37%Sensitivity: 97.54%Specificity: 99.54%Proposed YOLOv5 for region detection and a BiCMT classifier for feature fusion.
      Li et al. [14]Dangshan County, Suzhou City, Anhui Province, ChinaYOLOv5s-FPAP: 96.12%Developed YOLOv5s-FP, which utilises a modified CSP module with a transformer encoder for global feature extraction and attentional feature fusion.
      Jiang et al. [15]/Efficient LC3Net modelAP: 92.29%Proposed the Retinex algorithm for contrast enhancement and LC3Net model, with image normalization and reduced down-sampling frequency.
      Sun et al. [16]PlantVillage datasetSE-VIT hybrid networkAccuracy: 97.26%Developed SE-VIT hybrid network where the SE attention module enhances inter-channel weight learning in ResNet-18.
      Huang et al. [17]/YOLO-EP algorithm, based on YOLOv5AP@0.5: 88.6%Precision: 85.1%Recall: 82.6%.Introduced the YOLO-EP algorithm, utilizing transposed convolution and attention algorithms.
      Thai et al. [18]Cassava Leaf Disease DatasetLeast important attention pruning (LeIAP) algorithm/Developed LeIAP algorithm to select each layer’s most critical attention heads in the transformer model.
      Chen et al. [19]/ESP-YOLOmAP: 98.3%Integrated YOLO with advanced techniques like ELSAN, SE, and PConv to improve the accuracy and efficiency of table grape detection.
      Liu et al. [20]RGB Grape Data -North ChinaFRT-YOLOmAP: 90.67%Developed FTR-YOLO, a real-time and lightweight model for detecting grape diseases.
    • Table 2. Description of the grape leaf diseases

      View table
      View in Article

      Table 2. Description of the grape leaf diseases

      LabelsCharacteristics
      Black measleBlack measle is a fungal disease that causes small, reddish spots on leaves that eventually turn brown or black [23]. If left untreated, black measles can severely reduce grape yields and quality.
      Black rotThe fungal pathogen Guignardia Bidwell [24] causes the fungus Black Rot. Black Rot typically appears on grape leaves as small, yellow spots that gradually enlarge and turn brown or black [25]. Disease-affected areas may become necrotic, causing the leaves to wither and die.
      Blight fungusIt refers to various fungal diseases that cause blighting symptoms on leaves. It is characterised by irregular lesions, spots, or imperfections on the leaves ranging from brown to black [26].
      HealthyIt is the standard, unaffected state of grape leaves. The leaves of healthy grapes are typically green and free of spots, lesions, or discolourations.
    • Table 3. Parameter configuration for the experiment.

      View table
      View in Article

      Table 3. Parameter configuration for the experiment.

      Image sizeModel wightsBatch sizeEpochModel
      640YOLOv8l.pt16100YOLOv8
      320YOLOv8l.pt16100
      256YOLOv8l.pt16100
      128YOLOv8l.pt16100
      640YOLOv5l.pt16100YOLOv5
      320YOLOv5l.pt16100
      256YOLOv5l.pt16100
      128YOLOv5l.pt16100
    • Table 4. Classification report of YOLOv8 and YOLOv5 with different image sizes.

      View table
      View in Article

      Table 4. Classification report of YOLOv8 and YOLOv5 with different image sizes.

      YOLOv8YOLOv5
      ClassesPrecisionRecallmAP50mAP50-95Training time (H)PrecisionRecallmAP50mAP50-95InstancesTraining time (H)
      Image Size 640All0.9991.0000.9950.880.8830.9960.9950.9950.863190.545
      Black measles0.9991.0000.9950.8711.0000.9970.9950.85780
      Black fot1.0001.0000.9950.8660.9981.0000.9950.84489
      Blight fungus0.9991.0000.9950.8871.0000.9850.9950.87577
      Healthy0.9991.0000.9950.8970.9871.0000.9950.88273
      Image Size 320All0.9660.9820.9930.8580.8610.99810.9950.8693190.516
      Black measles0.9670.9630.9940.8420.99710.9950.86980
      Black rot0.9560.9790.9920.846110.9950.8689
      Blight fungus0.9640.9870.9940.8770.99710.9950.87277
      Healthy0.97710.9940.8680.99810.9950.87373
      Image size 256All0.9940.9970.9950.880.8330.9960.9940.9950.8633190.432
      Black measles0.991.0000.9950.880.9991.0000.9950.85680
      Black rot1.0000.9920.9950.8661.0001.0000.9950.85389
      Blight fungus1.0000.9950.9950.8891.0000.9760.9950.86877
      Healthy0.9871.000.9950.8850.9871.0000.9950.87573
      Image size 128All0.9981.0000.9950.8730.7920.9960.9980.9950.8353190.345
      Black measles0.9991.0000.9950.8611.0000.9900.9950.83280
      Black rot1.0000.9990.9950.8620.9891.0000.9950.84589
      Blight fungus0.9981.0000.9950.880.9991.0000.9950.84177
      Healthy0.9971.0000.9950.8870.9951.0000.9950.82173
    • Table 5. Input-Output shape and data type of the TFLite model.

      View table
      View in Article

      Table 5. Input-Output shape and data type of the TFLite model.

      InputOutputType
      [1, 640×640, 3][1, 25200, 9]Shape
      NumPy.float32NumPy.float32Data Type
    Tools

    Get Citation

    Copy Citation Text

    Sajib Bin Mamun, Israt Jahan Payel, Md. Taimur Ahad, Anthony S. Atkins, Bo Song, Yan Li. Grape Guard: A YOLO-based mobile application for detecting grape leaf diseases[J]. Journal of Electronic Science and Technology, 2025, 23(1): 100300

    Download Citation

    EndNote(RIS)BibTexPlain Text
    Save article for my favorites
    Paper Information

    Category:

    Received: Apr. 1, 2024

    Accepted: Jan. 5, 2025

    Published Online: Apr. 7, 2025

    The Author Email: Md. Taimur Ahad (MdTaimur.Ahad@unisq.edu.au)

    DOI:10.1016/j.jnlest.2025.100300

    Topics