Real-time fruit detection using deep neural networks on CPU (RTFD): An edge AI application
文献类型: 外文期刊
作者: Mao, DianHui 1 ; Sun, Hao 1 ; Li, XueBo 1 ; Yu, XuDong 1 ; Wu, JianWei 3 ; Zhang, QingChuan 2 ;
作者机构: 1.Beijing Technol & Business Univ, Sch Comp Sci & Engn, Beijing Key Lab Big Data Technol Food Safety, 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 100097, Peoples R China
关键词: PicoDet-S; Lightweight; Edge devices; Quantization; Android
期刊名称:COMPUTERS AND ELECTRONICS IN AGRICULTURE ( 影响因子:6.757; 五年影响因子:6.817 )
ISSN: 0168-1699
年卷期: 2023 年 204 卷
页码:
收录情况: SCI
摘要: Intelligent harvesting can greatly reduce the manual labor for fruit harvesting and is one of the main application areas of intelligent agricultural machinery. Smart edge sensors must detect the growth status of tomatoes and strawberries in real-time for intelligent harvesting to be possible. Due to edge devices' relatively low image processing power, it remains challenging to implement deep learning algorithms for real-time detection in field applications. Therefore, scholars are strongly interested in utilizing computationally small, accurate, and quick models for edge harvesting machinery. In this research, we propose RTFD, a lightweight algorithm for edge CPU devices that detects fruit. Based on the PicoDet-S model, RTFD optimizes the efficiency of real-time detection for edge CPU computing devices by enhancing the model's structure, loss function and activation function. The experimental results demonstrate that the mAP of RTFD for tomato and strawberry datasets at various growth phases is 0.78 and 0.96, respectively, with a computational effort of 1.44 GFLOPs. RTFD improves mAP by 1.9% and 2.3% on the tomato and strawberry datasets, respectively, with minimal loss in computation and model parameters, making it more suitable for edge device deployment. Meanwhile, we proposed an approach for 8-bit quantization-aware training of the Conv2D and Linear layers of the model for improved edge deployment. This approach quantizes 32-bit floating-point values in the Conv2D and Linear layers into 8-bit integers, thereby reducing the model's size and accelerating detection speed. The testing findings indicate that the quantized RTFD model has a size of 1.33 MB and a CPU detection speed of around 11 FPS. Using the quantified trained model, we developed the Android application RTFD-CPU to evaluate the model's performance in test scenarios. RTFD-CPU was assessed on the smartphone Redmi K30pro (Qualcomm Snapdragon 865 CPU and 8 GB of RAM) with a detection speed of 19 FPS utilizing only the CPU. In summary, the proposed RTFD has great potential for intelligent picking machines, and the concept of redesigning the model structure, loss function, and activation function, as well as training by quantization to speed up the detection of deep neural networks, is anticipated to be successfully implemented in edge computing.
- 相关文献
作者其他论文 更多>>
-
Computer Vision-Based Measurement Techniques for Livestock Body Dimension and Weight: A Review
作者:Ma, Weihong;Qi, Xiangyu;Sun, Yi;Gao, Ronghua;Ding, Luyu;Wang, Rong;Peng, Cheng;Zhang, Jun;Wu, Jianwei;Xu, Zhankang;Li, Mingyu;Huang, Shudong;Li, Qifeng;Qi, Xiangyu;Zhao, Hongyan;Huang, Shudong
关键词:3D reconstruction; stressless body dimension measurement; visual weight estimation; precision livestock farming
-
Maize seed fraud detection based on hyperspectral imaging and one-class learning
作者:Zhang, Liu;Wei, Yaoguang;Liu, Jincun;An, Dong;Zhang, Liu;Wei, Yaoguang;Liu, Jincun;An, Dong;Zhang, Liu;Wei, Yaoguang;Liu, Jincun;An, Dong;Zhang, Liu;Wei, Yaoguang;Liu, Jincun;An, Dong;Wu, Jianwei;Wu, Jianwei
关键词:Fraud detection; Maize seeds; Hyperspectral imaging; One -class learning; Deep learning
-
A hyperspectral band selection method based on sparse band attention network for maize seed variety identification
作者:Zhang, Liu;Wei, Yaoguang;Liu, Jincun;An, Dong;Zhang, Liu;Wei, Yaoguang;Liu, Jincun;An, Dong;Zhang, Liu;Wei, Yaoguang;Liu, Jincun;An, Dong;Zhang, Liu;Wei, Yaoguang;Liu, Jincun;An, Dong;Wu, Jianwei;Wu, Jianwei
关键词:Hyperspectral imaging; Band selection; Attention mechanism; Deep learning; Seed variety identification
-
Maize seed variety identification using hyperspectral imaging and self-supervised learning: A two-stage training approach without spectral preprocessing
作者:Zhang, Liu;Zhang, Shubin;Liu, Jincun;Wei, Yaoguang;An, Dong;Zhang, Liu;Zhang, Shubin;Liu, Jincun;Wei, Yaoguang;An, Dong;Zhang, Liu;Zhang, Shubin;Liu, Jincun;Wei, Yaoguang;An, Dong;Zhang, Liu;Zhang, Shubin;Liu, Jincun;Wei, Yaoguang;An, Dong;Wu, Jianwei;Wu, Jianwei
关键词:Seed classification; Hyperspectral imaging; Self-supervised learning; Deep learning; Spectral analysis
-
Using filter pruning-based deep learning algorithm for the real-time fruit freshness detection with edge processors
作者:Mao, DianHui;Zhang, DengHui;Sun, Hao;Mao, DianHui;Wu, JianWei;Wu, JianWei;Chen, JunHua
关键词:PP-YOLO Tiny; Ultra Lightweight; FPGM algorithm; Real-time detection; Fruit
-
Research on the joint event extraction method orientates food live e-commerce
作者:Mao, Dianhui;Liu, Yiming;Li, Ruixuan;Chen, Junhua;Hao, Yuanrong;Liu, Yiming;Chen, Junhua;Wu, Jianwei;Wu, Jianwei
关键词:Event Extraction; Ontology construction; Knowledge Graph; Food e -commerce live streaming
-
Can the Blended Application of Controlled-Release and Common Urea Effectively Replace the Common Urea in a Wheat-Maize Rotation System? A Case Study Based on a Long-Term Experiment
作者:Zhang, Ling;Xue, Wen-Tao;Sun, Hao;Wu, Rong;Tian, Ye;Chen, Yi-Shan;Ma, Liang;Chen, Qian;Du, Ying;Bai, Yang;Liu, Shan-Jiang;Zou, Guo-Yuan;Hu, Yun-Cai
关键词:blending urea; wheat-maize rotation system; grain yield; soil n and c stocks; environmental impacts; ecosystem economic benefit