Optimizing edge-enabled system for detecting green passion fruits in complex natural orchards using lightweight deep learning model

IF 7.7 1区 农林科学 Q1 AGRICULTURE, MULTIDISCIPLINARY
Hongwei Li , Jiasheng Chen , Zenan Gu , Tianyun Dong , Jiqing Chen , Junduan Huang , Jingyao Gai , Hao Gong , Zhiheng Lu , Deqiang He
{"title":"Optimizing edge-enabled system for detecting green passion fruits in complex natural orchards using lightweight deep learning model","authors":"Hongwei Li ,&nbsp;Jiasheng Chen ,&nbsp;Zenan Gu ,&nbsp;Tianyun Dong ,&nbsp;Jiqing Chen ,&nbsp;Junduan Huang ,&nbsp;Jingyao Gai ,&nbsp;Hao Gong ,&nbsp;Zhiheng Lu ,&nbsp;Deqiang He","doi":"10.1016/j.compag.2025.110269","DOIUrl":null,"url":null,"abstract":"<div><div>To address labor shortages and rising costs, developing cost-effective fruit detection technology capable of functioning effectively in complex orchard environments is especially crucial for the advancement of robotic passion fruit harvesting systems. Moreover, achieving edge device-based efficient detection is highly expected under field conditions given its operating portability and cost-effective effects. This study proposed an improved YOLOv8n model for automatic passion fruits detection. First of all, a ParNet attention mechanism was added to the C2f module of YOLOv8n to improve feature extraction. To extract more information about small targets in the images, an additional detection layer was added for small targets in the Neck network. Furthermore, a SlimNeck architecture was employed to optimize the original neck part, reducing the model parameters while maintaining detection performance. The proposed model was trained and tested using a dataset divided by Hold-out, achieving an accuracy of 96.0 %, a recall rate of 83.7 %, and a [email protected] of 91.9 %. The model size was optimal with 2,650,300 parameters, 10.4G FLOPs, and an inference speed of 115fps in Windows-based platform. Compared to the other state-of-the-art deep learning models such as YOLOv4-Tiny, YOLOv5n, YOLOv6n, YOLOv7-Tiny, YOLOv8n, YOLOv9, YOLOv10n, YOLOv11n, Faster R-CNN and SSD, the improved YOLOv8n model showcased overall superior detection performance. When deploying this proposed model on Nvidia Jetson Orin Nano, the inference speed of the improved model was 28.15fps in the C++ environment using the TensorRT API, showing real-time detection performance. This study can provide basic technology for passion fruit robotic harvesting on the basis of the potable edge devices.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"234 ","pages":"Article 110269"},"PeriodicalIF":7.7000,"publicationDate":"2025-03-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Electronics in Agriculture","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168169925003758","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

To address labor shortages and rising costs, developing cost-effective fruit detection technology capable of functioning effectively in complex orchard environments is especially crucial for the advancement of robotic passion fruit harvesting systems. Moreover, achieving edge device-based efficient detection is highly expected under field conditions given its operating portability and cost-effective effects. This study proposed an improved YOLOv8n model for automatic passion fruits detection. First of all, a ParNet attention mechanism was added to the C2f module of YOLOv8n to improve feature extraction. To extract more information about small targets in the images, an additional detection layer was added for small targets in the Neck network. Furthermore, a SlimNeck architecture was employed to optimize the original neck part, reducing the model parameters while maintaining detection performance. The proposed model was trained and tested using a dataset divided by Hold-out, achieving an accuracy of 96.0 %, a recall rate of 83.7 %, and a [email protected] of 91.9 %. The model size was optimal with 2,650,300 parameters, 10.4G FLOPs, and an inference speed of 115fps in Windows-based platform. Compared to the other state-of-the-art deep learning models such as YOLOv4-Tiny, YOLOv5n, YOLOv6n, YOLOv7-Tiny, YOLOv8n, YOLOv9, YOLOv10n, YOLOv11n, Faster R-CNN and SSD, the improved YOLOv8n model showcased overall superior detection performance. When deploying this proposed model on Nvidia Jetson Orin Nano, the inference speed of the improved model was 28.15fps in the C++ environment using the TensorRT API, showing real-time detection performance. This study can provide basic technology for passion fruit robotic harvesting on the basis of the potable edge devices.
求助全文
约1分钟内获得全文 求助全文
来源期刊
Computers and Electronics in Agriculture
Computers and Electronics in Agriculture 工程技术-计算机:跨学科应用
CiteScore
15.30
自引率
14.50%
发文量
800
审稿时长
62 days
期刊介绍: Computers and Electronics in Agriculture provides international coverage of advancements in computer hardware, software, electronic instrumentation, and control systems applied to agricultural challenges. Encompassing agronomy, horticulture, forestry, aquaculture, and animal farming, the journal publishes original papers, reviews, and applications notes. It explores the use of computers and electronics in plant or animal agricultural production, covering topics like agricultural soils, water, pests, controlled environments, and waste. The scope extends to on-farm post-harvest operations and relevant technologies, including artificial intelligence, sensors, machine vision, robotics, networking, and simulation modeling. Its companion journal, Smart Agricultural Technology, continues the focus on smart applications in production agriculture.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信