Research on plum target detection based on improved YOLOv3 and jetson nano

Dongsheng Li, Ting-Yuan Liu, Longgang Zhou
{"title":"Research on plum target detection based on improved YOLOv3 and jetson nano","authors":"Dongsheng Li, Ting-Yuan Liu, Longgang Zhou","doi":"10.1117/12.2674502","DOIUrl":null,"url":null,"abstract":"Aiming at the problem that plums detection in a natural environment is subject to serious environmental interference and the detection method is not easy to be deployed on mobile devices, a target detection method suitable for jetson nano terminal is proposed, which can accurately detect plums and make the model adapt to the needs of the mobile terminal. A total of 1000 ripe plum images were collected and 20 images from each typical picking scene were selected as the test set. The remaining images are divided into training and validation sets according to 8:2. The YOLOv3 model is modified to accommodate mobile terminals, the main neural network of YOLOv3 is replaced by mobile_v2, and the structure of the FPN is simplified to achieve network compression and improve detection speed. The improved model was trained using the PyTorch framework, and the trained model was converted to an ONNX file, which was moved to the jetson nano. On the jetson nano side, the TensorRT framework is used to parse the ONNX files, generate the model inference engine, and implement model acceleration. The experimental results show that the detection accuracy of the improved YOLOv3 on the test set is 91.27%, and the accuracy of the improved YOLOv3 is 97.85%, 98.20%, 94.78%, 81.66%, and 85.33% under the conditions of slight interference, branches and leaves occlusion, fruit overlap, occlusion and overlap, and insufficient light, respectively. In the experiment, the detection speed is 146FPS for the self-built server and 6FPS for the jetson nano. Experimental results show that the proposed method can meet the accuracy requirements of plum detection in picking scenarios, and the deployment and acceleration of the model on small devices can be achieved, thus laying the foundation for the practical application of automatic picking.","PeriodicalId":286364,"journal":{"name":"Conference on Computer Graphics, Artificial Intelligence, and Data Processing","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2023-05-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Conference on Computer Graphics, Artificial Intelligence, and Data Processing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1117/12.2674502","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Aiming at the problem that plums detection in a natural environment is subject to serious environmental interference and the detection method is not easy to be deployed on mobile devices, a target detection method suitable for jetson nano terminal is proposed, which can accurately detect plums and make the model adapt to the needs of the mobile terminal. A total of 1000 ripe plum images were collected and 20 images from each typical picking scene were selected as the test set. The remaining images are divided into training and validation sets according to 8:2. The YOLOv3 model is modified to accommodate mobile terminals, the main neural network of YOLOv3 is replaced by mobile_v2, and the structure of the FPN is simplified to achieve network compression and improve detection speed. The improved model was trained using the PyTorch framework, and the trained model was converted to an ONNX file, which was moved to the jetson nano. On the jetson nano side, the TensorRT framework is used to parse the ONNX files, generate the model inference engine, and implement model acceleration. The experimental results show that the detection accuracy of the improved YOLOv3 on the test set is 91.27%, and the accuracy of the improved YOLOv3 is 97.85%, 98.20%, 94.78%, 81.66%, and 85.33% under the conditions of slight interference, branches and leaves occlusion, fruit overlap, occlusion and overlap, and insufficient light, respectively. In the experiment, the detection speed is 146FPS for the self-built server and 6FPS for the jetson nano. Experimental results show that the proposed method can meet the accuracy requirements of plum detection in picking scenarios, and the deployment and acceleration of the model on small devices can be achieved, thus laying the foundation for the practical application of automatic picking.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于改进YOLOv3和jetson nano的李子目标检测研究
针对梅子在自然环境中检测受环境干扰严重、检测方法不易部署到移动设备上的问题,提出了一种适合jetson纳米终端的目标检测方法,能够准确检测梅子,使模型适应移动终端的需求。共采集成熟李子图像1000幅,每个典型采摘场景选取20幅作为测试集。剩余图像按照8:2划分为训练集和验证集。修改YOLOv3模型以适应移动终端,将YOLOv3的主要神经网络替换为mobile_v2,简化FPN结构以实现网络压缩,提高检测速度。使用PyTorch框架对改进后的模型进行训练,并将训练后的模型转换为ONNX文件,该文件被移动到jetson nano中。在jetson nano端,使用TensorRT框架解析ONNX文件,生成模型推理引擎,实现模型加速。实验结果表明,改进的YOLOv3在测试集上的检测准确率为91.27%,在轻微干扰、枝叶遮挡、果实重叠、遮挡重叠和光照不足的情况下,改进的YOLOv3的检测准确率分别为97.85%、98.20%、94.78%、81.66%和85.33%。实验中,自建服务器的检测速度为146FPS, jetson nano的检测速度为6FPS。实验结果表明,本文提出的方法能够满足采摘场景中李子检测的精度要求,并且可以实现模型在小型设备上的部署和加速,从而为自动采摘的实际应用奠定基础。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Size and defect detection of valve based on computer vision Research on quantitative evaluation method of test flight risk based on fuzzy theory Research on target grid investment optimization technology of medium- and low-voltage distribution network based on improved genetic algorithm Research on the analysis method of civil aircraft operational safety data Research on plum target detection based on improved YOLOv3 and jetson nano
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1