AOD-Net: a lightweight real-time fruit detection algorithm for agricultural automation

被引:1
作者
Tong, Juntao [1 ]
机构
[1] Zhejiang Normal Univ, Coll Engn, Jinhua 321004, Zhejiang, Peoples R China
关键词
Fruit detection; YOLOv5s; Lightweight; Attention mechanism; Feature fusion;
D O I
10.1007/s11694-025-03149-1
中图分类号
TS2 [食品工业];
学科分类号
0832 ;
摘要
Fruit defect classification and quality visual inspection are crucial for automated harvesting in agriculture. To address the issues of large model parameters, low target recognition accuracy, and interference from background noise in existing detection models, we proposed a novel fruit detection algorithm, AOD-Net, which integrated Polarized self-attention (PSA) mechanism and a new lightweight structure, Cross-Stage Partial Convolution (CSPC). By adding the PSA module at the end of the backbone network, AOD-Net establishes mutual dependencies between feature channels, reducing background noise and improving the network's ability to extract and recognize subtle target features, thus enhancing target localization accuracy. The CSPC structure, inspired by Dual-Conv and Partial-Conv, replaces certain convolutional layers, significantly reducing model parameters and accelerating detection speed while maintaining accuracy to meet real-time requirements. The Receptive-Field Attention Convolution module is incorporated into the neck network to enhance feature learning, improve feature extraction accuracy, and address parameter sharing issues, thus improving model generalization. Additionally, the Dysample upsampling operator replaces the traditional nearest-neighbor interpolation to reduce computational parameters while improving feature fusion for different fruit types, thereby enhancing detection accuracy and robustness. Experimental results on the publicly available FruitNet dataset showed that AOD-Net achieved a mAP of 93.55%, with improvements of 1.30%, 1.96%, and 3.95% in Precision, Recall, and mAP, respectively, compared to the standard YOLOv5s. The model's memory usage decreased by 8.97%, and the computational cost was reduced from 16.0 GFLOPs to 11.3 GFLOPs, verifying the effectiveness of the proposed algorithm. AOD-Net strikes an excellent balance between speed and accuracy, making it an efficient and practical fruit detection method.
引用
收藏
页码:2818 / 2830
页数:13
相关论文
共 28 条
  • [1] Run, Don't Walk: Chasing Higher FLOPS for Faster Neural Networks
    Chen, Jierun
    Kao, Shiu-Hong
    He, Hao
    Zhuo, Weipeng
    Wen, Song
    Lee, Chul-Ho
    Chan, S. -H. Gary
    [J]. 2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2023, : 12021 - 12031
  • [2] Weed detection in sesame fields using a YOLO model with an enhanced attention mechanism and feature fusion
    Chen, Jiqing
    Wang, Huabin
    Zhang, Hongdu
    Luo, Tian
    Wei, Depeng
    Long, Teng
    Wang, Zhikui
    [J]. COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2022, 202
  • [3] Cattle Body Detection Based on YOLOv5-EMA for Precision Livestock Farming
    Hao, Wangli
    Ren, Chao
    Han, Meng
    Zhang, Li
    Li, Fuzhong
    Liu, Zhenyu
    [J]. ANIMALS, 2023, 13 (22):
  • [4] Monitoring coffee fruit maturity using an enhanced convolutional neural network under different image acquisition settings
    Kazama, Elizabeth Haruna
    Tedesco, Danilo
    Carreira, Vinicius dos Santos
    Barbosa Jr, Marcelo Rodrigues
    de Oliveira, Mailson Freire
    Ferreira, Francielle Morelli
    Maldonado Jr, Walter
    Silva, Rouverson Pereira da
    [J]. SCIENTIA HORTICULTURAE, 2024, 328
  • [5] YOLO-G: A Lightweight Network Model for Improving the Performance of Military Targets Detection
    Kong, Lingren
    Wang, Jianzhong
    Zhao, Peng
    [J]. IEEE ACCESS, 2022, 10 : 55546 - 55564
  • [6] Real time on-package freshness indicator for guavas packaging
    Kuswandi, Bambang
    Maryska, Chrysnanda
    Jayus
    Abdullah, Aminah
    Heng, Lee Yook
    [J]. JOURNAL OF FOOD MEASUREMENT AND CHARACTERIZATION, 2013, 7 (01) : 29 - 39
  • [7] An improved YOLOv5s model using feature concatenation with attention mechanism for real-time fruit detection and counting
    Lawal, Olarewaju Mubashiru
    Zhu, Shengyan
    Cheng, Kui
    [J]. FRONTIERS IN PLANT SCIENCE, 2023, 14
  • [8] AG-YOLO: A Rapid Citrus Fruit Detection Algorithm with Global Context Fusion
    Lin, Yishen
    Huang, Zifan
    Liang, Yun
    Liu, Yunfan
    Jiang, Weipeng
    [J]. AGRICULTURE-BASEL, 2024, 14 (01):
  • [9] Liu H., 2021, POLARIZED SELF ATTEN, DOI DOI 10.48550/ARXIV.2107.00782
  • [10] STBi-YOLO: A Real-Time Object Detection Method for Lung Nodule Recognition
    Liu, Kehong
    [J]. IEEE ACCESS, 2022, 10 : 75385 - 75394