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 条
  • [41] LTN-VINS: A Robust VSLAM in Blurring Environment Based on Lightweight Transformer Network
    Wang, Yunyang
    Lyu, Pin
    Lai, Jizhou
    Yuan, Cheng
    IEEE SENSORS JOURNAL, 2025, 25 (02) : 3682 - 3697
  • [42] A method for litchi picking points calculation in natural environment based on main fruit bearing branch detection
    Zhong, Zhuo
    Xiong, Juntao
    Zheng, Zhenhui
    Liu, Bolin
    Liao, Shisheng
    Huo, Zhaowei
    Yang, Zhengang
    COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2021, 189
  • [43] Mature Stage Pear Detection Method Based on Frequency Domain Data Augmentation and Lightweight YOLO v7 Model
    Zheng W.
    Yang Y.
    Nongye Jixie Xuebao/Transactions of the Chinese Society for Agricultural Machinery, 2024, 55 (05): : 244 - 253
  • [44] A Real-Time Detection Algorithm for Sweet Cherry Fruit Maturity Based on YOLOX in the Natural Environment
    Li, Zhiyong
    Jiang, Xueqin
    Shuai, Luyu
    Zhang, Boda
    Yang, Yiyu
    Mu, Jiong
    AGRONOMY-BASEL, 2022, 12 (10):
  • [45] Intrusion Detection Model Based on Improved Transformer
    Liu, Yi
    Wu, Lanjian
    APPLIED SCIENCES-BASEL, 2023, 13 (10):
  • [46] A Vulnerability Detection Algorithm Based on Transformer Model
    Hou, Fujin
    Zhou, Kun
    Li, Longbin
    Tian, Yuan
    Li, Jie
    Li, Jian
    ARTIFICIAL INTELLIGENCE AND SECURITY, ICAIS 2022, PT III, 2022, 13340 : 43 - 55
  • [47] SwinLabNet: Jujube Orchard Drivable Area Segmentation Based on Lightweight CNN-Transformer Architecture
    Liang, Mingxia
    Ding, Longpeng
    Chen, Jiangchun
    Xu, Liming
    Wang, Xinjie
    Li, Jingbin
    Yang, Hongfei
    AGRICULTURE-BASEL, 2024, 14 (10):
  • [48] A hybrid lightweight transformer architecture based on fuzzy attention prototypes for multivariate time series classification
    Gu, Yan
    Jin, Feng
    Zhao, Jun
    Wang, Wei
    INFORMATION SCIENCES, 2025, 703
  • [49] PSO-based lightweight neural architecture search for object detection
    Gong, Tao
    Ma, Yongjie
    SWARM AND EVOLUTIONARY COMPUTATION, 2024, 90
  • [50] Swin transformer based vehicle detection in undisciplined traffic environment
    Deshmukh, Prashant
    Satyanarayana, G. S. R.
    Majhi, Sudhan
    Sahoo, Upendra Kumar
    Das, Santos Kumar
    EXPERT SYSTEMS WITH APPLICATIONS, 2023, 213