IDEAS home Printed from https://ideas.repec.org/a/gam/jagris/v14y2024i1p114-d1316755.html
   My bibliography  Save this article

AG-YOLO: A Rapid Citrus Fruit Detection Algorithm with Global Context Fusion

Author

Listed:
  • Yishen Lin

    (College of Mathematics and Informatics, South China Agricultural University, Guangzhou 510642, China)

  • Zifan Huang

    (College of Mathematics and Informatics, South China Agricultural University, Guangzhou 510642, China)

  • Yun Liang

    (College of Mathematics and Informatics, South China Agricultural University, Guangzhou 510642, China)

  • Yunfan Liu

    (College of Mathematics and Informatics, South China Agricultural University, Guangzhou 510642, China)

  • Weipeng Jiang

    (College of Mathematics and Informatics, South China Agricultural University, Guangzhou 510642, China)

Abstract

Citrus fruits hold pivotal positions within the agricultural sector. Accurate yield estimation for citrus fruits is crucial in orchard management, especially when facing challenges of fruit occlusion due to dense foliage or overlapping fruits. This study addresses the issues of low detection accuracy and the significant instances of missed detections in citrus fruit detection algorithms, particularly in scenarios of occlusion. It introduces AG-YOLO, an attention-based network designed to fuse contextual information. Leveraging NextViT as its primary architecture, AG-YOLO harnesses its ability to capture holistic contextual information within nearby scenes. Additionally, it introduces a Global Context Fusion Module (GCFM), facilitating the interaction and fusion of local and global features through self-attention mechanisms, significantly improving the model’s occluded target detection capabilities. An independent dataset comprising over 8000 outdoor images was collected for the purpose of evaluating AG-YOLO’s performance. After a meticulous selection process, a subset of 957 images meeting the criteria for occlusion scenarios of citrus fruits was obtained. This dataset includes instances of occlusion, severe occlusion, overlap, and severe overlap, covering a range of complex scenarios. AG-YOLO demonstrated exceptional performance on this dataset, achieving a precision (P) of 90.6%, a mean average precision (mAP)@50 of 83.2%, and an mAP@50:95 of 60.3%. These metrics surpass existing mainstream object detection methods, confirming AG-YOLO’s efficacy. AG-YOLO effectively addresses the challenge of occlusion detection, achieving a speed of 34.22 frames per second (FPS) while maintaining a high level of detection accuracy. This speed of 34.22 FPS showcases a relatively faster performance, particularly evident in handling the complexities posed by occlusion challenges, while maintaining a commendable balance between speed and accuracy. AG-YOLO, compared to existing models, demonstrates advantages in high localization accuracy, minimal missed detection rates, and swift detection speed, particularly evident in effectively addressing the challenges posed by severe occlusions in object detection. This highlights its role as an efficient and reliable solution for handling severe occlusions in the field of object detection.

Suggested Citation

  • Yishen Lin & Zifan Huang & Yun Liang & Yunfan Liu & Weipeng Jiang, 2024. "AG-YOLO: A Rapid Citrus Fruit Detection Algorithm with Global Context Fusion," Agriculture, MDPI, vol. 14(1), pages 1-15, January.
  • Handle: RePEc:gam:jagris:v:14:y:2024:i:1:p:114-:d:1316755
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/14/1/114/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/14/1/114/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:14:y:2024:i:1:p:114-:d:1316755. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.