首页|基于改进YOLOv5模型的农作物病斑图像自动标注

基于改进YOLOv5模型的农作物病斑图像自动标注

扫码查看
基于图像的目标检测模型研究往往需要大量标注好的图像数据集用于训练和测试,但现有手工标注方法存在标注质量低、耗时费力等问题严重影响了建模效果,为了解决问题,以水稻图像中茎叶病斑自动标注为目标,基于YOLOv5 模型提出一种改进的图像自动标注模型 YOLOv5-TR-BiFPN.首先在 YOLOv5 结构中引入 BiFPN(Bidirectional Feature Pyramid Network),使模型在计算量相似的情况下融合更多特征,其次采用ViT(Vision Transformer)模块增强模型的目标定位能力,并进一步优化了损失函数和非极大值抑制的计算方法,获得位置更准确的目标框.研究结果表明,YOLOv5-TR-BiFPN模型对植物病斑图像平均精度均值达到 73%,相比YOLOv5s模型平均标注精度提升了 3%,使用少量水稻茎叶病斑图像验证,模型训练平均精度均值mAP(mean Average Precision)达到 89.3%,表明YOLOv5-TR-BiFPN模型能够较准确的标注水稻茎叶病斑,实现农作物病斑图像自动标注,标注效果良好.
Automatic Annotation of Crop Spot Image Based on Improved YOLOv5 Model
Image based object detection model research often required a large number of labeled image datasets for training and testing,but the existing manual annotation methods had problems such as low annotation quality,time-consuming and laborious,which seriously affected the modeling effect.In order to solve this problem,an improved image automatic annotation model YOLOv5-TR-BiFPN was proposed based on YOLOv5 model,aiming at automatic annotation of leaf and stem disease spots in rice images.Firstly,BiFPN(Bidirectional Feature Pyramid Network)was introduced into YOLOv5 structure to enable the model to integrate more features when the computational load was similar.Secondly,the ViT(Vision Transformer)module was used to enhance the model's target positioning capability,and the calculation methods of loss function and non-maximum suppression were further optimized to obtain a more accurate target frame.The research results showed that the average precision of YOLOv5-TR-BiFPN model for plant disease spot images reached 73%,which was 3%higher than YOLOv5s model.Using a small number of rice stem and leaf disease spot images to verify,the average precision of model training average mAP(mean Average Precision)reached 89.3%,which showed that YOLOv5-TR-BiFPN model could accurately label rice stem and leaf disease spots,achieve automatic labeling of crop disease spot images,and the labeling effect was good.

rice disease spotimage annotationtarget detectionBiFPN

马文宝、田芳明、谭峰

展开 >

黑龙江八一农垦大学信息与电气工程学院,大庆 163319

水稻病斑 图像标注 目标检测 BiFPN

黑龙江省自然科学基金重点项目黑龙江八一农垦大学自然科学研究人才支持计划

ZD2019F002ZRCPY202015

2024

黑龙江八一农垦大学学报
黑龙江八一农垦大学

黑龙江八一农垦大学学报

影响因子:0.888
ISSN:1002-2090
年,卷(期):2024.36(1)
  • 21