Pear Fruit Detection Model in Natural Environment Based on Lightweight Transformer Architecture

被引:1
|
作者
Huang, Zheng [1 ,2 ]
Zhang, Xiuhua [1 ,2 ]
Wang, Hongsen [1 ,2 ]
Wei, Huajie [1 ,2 ]
Zhang, Yi [1 ,2 ]
Zhou, Guihong [2 ,3 ]
机构
[1] Hebei Agr Univ, Coll Mech & Elect Engn, Baoding 071001, Peoples R China
[2] Hebei Intelligent Agr Technol Innovat Ctr, Baoding 071001, Peoples R China
[3] Hebei Agr Univ, Coll Informat Sci & Technol, Baoding 071001, Peoples R China
来源
AGRICULTURE-BASEL | 2025年 / 15卷 / 01期
关键词
fruit detection; lightweight Transformer; RT-DETR; Xinli No. 7; FasterNet; Slim-Neck;
D O I
10.3390/agriculture15010024
中图分类号
S3 [农学(农艺学)];
学科分类号
0901 ;
摘要
Aiming at the problems of low precision, slow speed and difficult detection of small target pear fruit in a real environment, this paper designs a pear fruit detection model in a natural environment based on a lightweight Transformer architecture based on the RT-DETR model. Meanwhile, Xinli No. 7 fruit data set with different environmental conditions is established. First, based on the original model, the backbone was replaced with a lightweight FasterNet network. Secondly, HiLo, an improved and efficient attention mechanism with high and low-frequency information extraction, was used to make the model lightweight and improve the feature extraction ability of Xinli No. 7 in complex environments. The CCFM module is reconstructed based on the Slim-Neck method, and the loss function of the original model is replaced with the Shape-NWD small target detection mechanism loss function to enhance the feature extraction capability of the network. The comparison test between RT-DETR and YOLOv5m, YOLOv7, YOLOv8m and YOLOv10m, Deformable-DETR models shows that RT-DETR can achieve a good balance in terms of model lightweight and recognition accuracy compared with other models, and comprehensively exceed the detection accuracy of the current advanced YOLOv10 algorithm, which can realize the rapid detection of Xinli No. 7 fruit. In this paper, the accuracy rate, recall rate and average accuracy of the improved model reached 93.7%, 91.9% and 98%, respectively, and compared with the original model, the number of params, calculation amount and weight memory was reduced by 48.47%, 56.2% and 48.31%, respectively. This model provides technical support for Xinli No. 7 fruit detection and model deployment in complex environments.
引用
收藏
页数:16
相关论文
共 50 条
  • [31] A Lightweight Method for Ripeness Detection and Counting of Chinese Flowering Cabbage in the Natural Environment
    Wu, Mengcheng
    Yuan, Kai
    Shui, Yuanqing
    Wang, Qian
    Zhao, Zuoxi
    AGRONOMY-BASEL, 2024, 14 (08):
  • [32] Histology Image Artifact Restoration with Lightweight Transformer Based Diffusion Model
    Wang, Chong
    He, Zhenqi
    He, Junjun
    Ye, Jin
    Shen, Yiqing
    ARTIFICIAL INTELLIGENCE IN MEDICINE, PT II, AIME 2024, 2024, 14845 : 81 - 89
  • [33] A New Kiwi Fruit Detection Algorithm Based on an Improved Lightweight Network
    Yang, Yi
    Su, Lijun
    Zong, Aying
    Tao, Wanghai
    Xu, Xiaoping
    Chai, Yixin
    Mu, Weiyi
    AGRICULTURE-BASEL, 2024, 14 (10):
  • [34] A Lightweight ST-YOLO Based Model for Detection of Tea Bud in Unstructured Natural Environments
    Wen, Xin
    Yao, Yi
    Cai, Ying
    Zhao, Zixing
    Chen, Tianjiao
    Zeng, Ziyu
    Tang, Zhen
    Gao, Fangzheng
    IAENG International Journal of Applied Mathematics, 2024, 54 (03) : 342 - 349
  • [35] A lightweight grape detection model in natural environments based on an enhanced YOLOv8 framework
    Wu, Xinyu
    Tang, Rong
    Mu, Jiong
    Niu, Yupeng
    Xu, Zihan
    Chen, Ziao
    FRONTIERS IN PLANT SCIENCE, 2024, 15
  • [36] SwinGD: A Robust Grape Bunch Detection Model Based on Swin Transformer in Complex Vineyard Environment
    Wang, Jinhai
    Zhang, Zongyin
    Luo, Lufeng
    Zhu, Wenbo
    Chen, Jianwen
    Wang, Wei
    HORTICULTURAE, 2021, 7 (11)
  • [37] HCLT-YOLO: A Hybrid CNN and Lightweight Transformer Architecture for Object Detection in Complex Traffic Scenes
    Chen, Zhige
    Yang, Kai
    Wu, Yandong
    Yang, Hao
    Tang, Xiaolin
    IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY, 2025, 74 (03) : 3681 - 3694
  • [38] A Lightweight Model for Shine Muscat Grape Detection in Complex Environments Based on the YOLOv8 Architecture
    Tian, Changlei
    Liu, Zhanchong
    Chen, Haosen
    Dong, Fanglong
    Liu, Xiaoxiang
    Lin, Cong
    AGRONOMY-BASEL, 2025, 15 (01):
  • [39] Enhancing Fruit Fly Detection in Complex Backgrounds Using Transformer Architecture with Step Attention Mechanism
    Zhang, Lexin
    Chen, Kuiheng
    Zheng, Liping
    Liao, Xuwei
    Lu, Feiyu
    Li, Yilun
    Cui, Yuzhuo
    Wu, Yaze
    Song, Yihong
    Yan, Shuo
    AGRICULTURE-BASEL, 2024, 14 (03):
  • [40] LCDDN-YOLO: Lightweight Cotton Disease Detection in Natural Environment, Based on Improved YOLOv8
    Feng, Haoran
    Chen, Xiqu
    Duan, Zhaoyan
    AGRICULTURE-BASEL, 2025, 15 (04):