农业机械学报2024,Vol.55Issue(z1):61-70,10.DOI:10.6041/j.issn.1000-1298.2024.S1.007
基于改进YOLO v8s的水稻种植机械作业质量检测
Rice Planting Machinery Operation Quality Detection Based on Improved YOLO v8s
摘要
Abstract
The standardized and precise identification and detection of seedlings and seeds in rice fields is a prerequisite for achieving the quality detection of mechanical rice planting operations.To address the issues of complex rice field backgrounds,high machinery operation speeds,and difficulty in extracting morphological features during the research on rice planting image recognition,which resulted in low recognition accuracy rates,a lightweight quality detection method based on the improved YOLO v8s was proposed.Firstly,an image acquisition platform for operation quality detection was established through a rice planting quality detection device developed from the Inaka PZ60 type rice transplanter.Images of operation quality were captured to form the ImageSets dataset,and quality detection evaluation indicators were formulated in accordance with relevant national standards.Then by introducing the lightweight GhostNet module,the operational parameters of the network model were reduced.Simultaneously,to enhance the detection performance of the convolutional neural network,the CPCA attention module was incorporated into the detection algorithm,effectively strengthening the feature extraction for the quality of rice planting operations,suppressing the complex background information of the rice field,accurately obtaining the key features of the operation images,and significantly improving the detection effect of numerous small targets such as seedlings and seeds.Secondly,the CIoU loss function in the YOLO v8s model was replaced with the EIoU loss function,enabling the model to have a fast and good convergence speed and localization effect,and achieving precise identification of operation quality.The experimental results indicated that when evaluated using the average precision as the main indicator,the average precision of the improved YOLO v8s model on the test set was 92.41%,with an accuracy of 92.11%,a recall of 92.04%,and an mAP improvement of 7.91,7.71,4.28,and 1.03 percentage points,respectively,compared with the YOLO v5s,YOLO v7,YOLO v8s,and Faster R-CNN network models.The detection speed and memory occupancy of the improved model were 88 f/s and 19.2 MB,respectively,which were 12.8% and 10.7% lower than those of the YOLO v8s model.After tests in the planting environment,it can determine whether the operation quality was qualified,fulfilling the role of quality detection.The improved YOLO v8s network model demonstrated rapid and accurate recognition capabilities for the quality detection of rice field operations,exhibited good robustness,and had remarkable effects in the aspect of rice planting quality detection,providing a detection method for the quality detection of mechanical rice planting.关键词
水稻种植质量检测/机械作业/YOLO v8/漂秧漏秧/图像识别Key words
rice planting quality testing/mechanical operation/YOLO v8/floating and leaking rice seedlings/image recognition分类
信息技术与安全科学引用本文复制引用
刘双喜,张玮平,胡宪亮,王刘西航,宋占华,王金星..基于改进YOLO v8s的水稻种植机械作业质量检测[J].农业机械学报,2024,55(z1):61-70,10.基金项目
山东省现代农业产业技术体系水稻农业机械岗位专家项目(SDAIT-17-08) (SDAIT-17-08)