Using filter pruning-based deep learning algorithm for the real-time fruit freshness detection with edge processors

被引:4
作者
Mao, DianHui [1 ,2 ]
Zhang, DengHui [1 ]
Sun, Hao [1 ]
Wu, JianWei [3 ,4 ]
Chen, JunHua [5 ]
机构
[1] Beijing Technol & Business Univ, Beijing Key Lab Big Data Technol Food Safety, Sch Comp Sci & Engn, Beijing 100048, Peoples R China
[2] Beijing Technol & Business Univ, Natl Engn Lab Agriprod Qual Traceabil, Beijing 100048, Peoples R China
[3] Beijing Acad Agr & Forestry Sci, Informat Technol Res Ctr, Beijing 100048, Peoples R China
[4] Beijing PAIDE Sci & Technol Dev Co Ltd, Beijing 100097, Peoples R China
[5] China Natl Inst Standardizat, Standardizat Theory & Strategy, Beijing 100088, Peoples R China
关键词
PP-YOLO Tiny; Ultra Lightweight; FPGM algorithm; Real-time detection; Fruit;
D O I
10.1007/s11694-023-02246-3
中图分类号
TS2 [食品工业];
学科分类号
0832 ;
摘要
In the context of edge devices used in horticulture and the fruit industry, traditional high-precision models prove to be computationally intensive and challenging to deploy on terminals with limited computing resources. Therefore, in this work, we propose a lightweight target detection algorithm, called Fruit-Yolo, applied to edge farming devices where there are insufficient hardware resources and weak computational power to achieve classification and localization of fruit. More specifically, we employ the PPYOLO-Tiny model as our benchmark, where we undertake the redesign of both the backbone and FPN network components of the model. Additionally, we adapt the anchor framework to better suit the requirements of fruit detection, ultimately resulting in the creation of our streamlined network (Fruit-Yolo). Then, the filtered pruning based on geometric median algorithm is used to prune the model. The test results showed that the number of parameters of model after pruning was reduced by 20%, and the mAP decreased by only 0.2%. To verify the effectiveness of the proposed method, five algorithms including theYOLOv5s, SSD 300, MobileNetv3 and Faster R-CNN were compared. The comparison results show that the Fruit-Yolo model has the smallest size (3.85 MB), high accuracy (98.6%) and fast detection speed (32.77FPS). The results indicated that the proposed method can provide a technical reference for the deployment of deep learning models in intelligent agricultural machines at the edge.
引用
收藏
页码:1574 / 1591
页数:18
相关论文
共 50 条
  • [1] Using filter pruning-based deep learning algorithm for the real-time fruit freshness detection with edge processors
    DianHui Mao
    DengHui Zhang
    Hao Sun
    JianWei Wu
    JunHua Chen
    Journal of Food Measurement and Characterization, 2024, 18 : 1574 - 1591
  • [2] Using channel pruning-based YOLO v4 deep learning algorithm for the real-time and accurate detection of apple flowers in natural environments
    Wu, Dihua
    Lv, Shuaichao
    Jiang, Mei
    Song, Huaibo
    COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2020, 178
  • [3] Real-Time Detection of Drones Using Channel and Layer Pruning, Based on the YOLOv3-SPP3 Deep Learning Algorithm
    Zhang, Xuetao
    Fan, Kuangang
    Hou, Haonan
    Liu, Chuankai
    MICROMACHINES, 2022, 13 (12)
  • [4] Research on Real-Time Vehicle Detection Algorithm Based on Deep Learning
    Yang, Wei
    Zhang, Ji
    Zhang, Zhongbao
    Wang, Hongyuan
    PATTERN RECOGNITION AND COMPUTER VISION (PRCV 2018), PT IV, 2018, 11259 : 126 - 137
  • [5] Real-time sewer defect detection based on YOLO network, transfer learning, and channel pruning algorithm
    Situ, Zuxiang
    Teng, Shuai
    Liao, Xiaoting
    Chen, Gongfa
    Zhou, Qianqian
    JOURNAL OF CIVIL STRUCTURAL HEALTH MONITORING, 2024, 14 (01) : 41 - 57
  • [6] Real-time sewer defect detection based on YOLO network, transfer learning, and channel pruning algorithm
    Zuxiang Situ
    Shuai Teng
    Xiaoting Liao
    Gongfa Chen
    Qianqian Zhou
    Journal of Civil Structural Health Monitoring, 2024, 14 : 41 - 57
  • [7] Real-Time Stroke Detection Using Deep Learning and Federated Learning
    Elhanashi, Abdussalam
    Dini, Pierpaolo
    Saponara, Sergio
    Zheng, Qinghe
    Alsharif, Ibrahim
    REAL-TIME PROCESSING OF IMAGE, DEPTH, AND VIDEO INFORMATION 2024, 2024, 13000
  • [8] Real-time sow behavior detection based on deep learning
    Zhang, Yuanqin
    Cai, Jiahao
    Xiao, Deqin
    Li, Zesen
    Xiong, Benhai
    COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2019, 163
  • [9] Using lightweight deep learning algorithm for real-time detection of apple flowers in natural environments
    Shang, Yuying
    Xu, Xingshi
    Jiao, Yitao
    Wang, Zheng
    Hua, Zhixin
    Song, Huaibo
    COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2023, 207
  • [10] Real-time detection of distracted driving based on deep learning
    Duy Tran
    Ha Manh Do
    Sheng, Weihua
    Bai, He
    Chowdhary, Girish
    IET INTELLIGENT TRANSPORT SYSTEMS, 2018, 12 (10) : 1210 - 1219