首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于改进YOLOv3-Tiny的番茄苗分级检测
引用本文:张秀花,静茂凯,袁永伟,尹义蕾,李恺,王春辉.基于改进YOLOv3-Tiny的番茄苗分级检测[J].农业工程学报,2022,38(1):221-229.
作者姓名:张秀花  静茂凯  袁永伟  尹义蕾  李恺  王春辉
作者单位:1. 河北农业大学机电工程学院,保定 071000; 2. 河北省智慧农业装备技术创新中心,保定 071000;;3. 农业农村部规划设计研究院设施农业研究所,北京 100125;
基金项目:河北省重点研发计划(20327207D);河北省引进留学人员资助项目(C20200336)
摘    要:为了提高番茄苗分选移栽分级检测精度,该研究提出了YOLOv3-Tiny目标检测改进模型.首先建立了番茄穴盘苗数据集,使用K-means++算法重新生成数据集锚定框,提高网络收敛速度和特征提取能力;其次为目标检测模型添加SPP空间金字塔池化,将穴孔局部和整体特征融合,提高了对弱苗的召回率;同时加入路径聚合网络(PANet...

关 键 词:机器视觉  图像处理  穴盘育苗  幼苗分级  目标检测  YOLOv3-Tiny  自适应特征融合
收稿时间:2021/10/30 0:00:00
修稿时间:2021/12/31 0:00:00

Tomato seedling classification detection using improved YOLOv3-Tiny
Zhang Xiuhu,Jing Maokai,Yuan Yongwei,Yin Yilei,Li Kai,Wang Chunhui.Tomato seedling classification detection using improved YOLOv3-Tiny[J].Transactions of the Chinese Society of Agricultural Engineering,2022,38(1):221-229.
Authors:Zhang Xiuhu  Jing Maokai  Yuan Yongwei  Yin Yilei  Li Kai  Wang Chunhui
Institution:1. College of Electrical and Mechanical Engineering, Hebei Agricultural University, Baoding 071000, China; 2. Hebei Smart Agricultural Equipment Technology Innovation Center, Baoding 071000, China;;3. Institute of Protected Agriculture, Academy of Agricultural Planning and Engineering, Ministry of Agriculture and Rural Affairs, Beijing 100125, China;; 1. College of Biosystems Engineering and Food Science, Zhejiang University, Hangzhou 310058, China;
Abstract:Here, an improved YOLOV3-TINY target detection model was proposed to enhance the detection accuracy of the seedling classification and detection in the process of tomato seedling transplanting. First of all, 2160 images of the individual tomato seedling were collected to pre-process the image of the tomato hole. A LabelImg software was then selected to mark the image. After that, the data enhancement was performed on the image, such as the rotate and flip operations. As such, 25080 images were generated, where 22,800 images were taken as the training set, and 2280 images were the test set. A target detection model of tomato hole seedling was improved for the better convergence speed of the network and the feature extraction, where the K-means ++ was used to regenerate the anchors of the tomato plug seedling dataset. Secondly, a spatial pyramid pooling (SPP) was added into the target detection model, further to integrate the local and global features of the plug holes for the less recall rate of weak seedlings. A path aggregation network (PANet) was also added to improve the fine-grained detection. A spatial attention mechanism (SAM) was then introduced to reduce the background noise in the target detection model. An adaptive feature fusion network was selected to directly learn the features from the other levels, where spatial filtering was performed for better features fusion. A CIoU loss function strategy was adopted to improve the convergence of the model. Eventually, the model training was conducted in a computer-deep learning environment after the dataset production and network construction. The results show that the Mean Average Precision value reached 97.64%, which was higher than 94.17% of the original. The F1 value of the improved YOLOv3-Tiny reached 0.94, which was higher than 0.92 of the original. A comparative experiment was also performed on the different types of tomato plug seedlings, further to verify the effectiveness and feasibility of the improved model. It was found that the improved YOLOv3-Tiny target detection model was fully met the requirements of tomato plug seedling grading detection, where Average Precision values were 98.22%, 94.69%, and 99.99% for the strong, weak, and no seedlings, respectively. Additionally, the improved network structure and the training strategy were used to verify the model in the process of the ablation experiment. We found that every improvement method of the model in the research has positive significance, and the introduction of Panet has the most obvious improvement in the Mean Average Precision value of the model, which is increased by 2.17 percentage points. Using the improved YOLOv3-Tiny target detection algorithm to compare with target detection algorithms such as YOLOv3-Tiny, Faster-RCNN and CenterNet, it is found that under the condition that the overlap threshold is 50%, the Mean Average Precision of the improved YOLOv3-Tiny The value is still 0.47 percentage points higher than other CenterNet algorithms with the highest Mean Average Precision value; the improved YOLOv3-Tin detection speed is 5.03 ms per image, which is 8.39ms higher than the YOLOv3 large target detection algorithm with the highest detection speed.The finding can also provide a strong reference to detect the seedling sorting during tomato production.
Keywords:machine vision  image processing  plug seedling  seedling grading  target detection  YOLOv3-Tiny  adaptive feature fusion
点击此处可从《农业工程学报》浏览原始摘要信息
点击此处可从《农业工程学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号