基于改进YOLO v8n的辣椒穴盘育苗播种质量轻量级检测方法
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家重点研发计划项目(2023YFD2001200)


Lightweight Detection Method for Seeding Quality of Chili Seedling Trays Based on Improved YOLO v8n
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对辣椒穴盘育苗播种质量实时、准确检测难和边缘设备算力有限等问题,基于 YOLO v8n 设计了一种轻量级检测算法 YOLO v8n SCS(YOLO v8n improved with StarNet, CAM and SCConv)。 采用“单格训练 + 整盘检测冶的技术策略以降低训练成本,提高训练效率。 采用 StarNet 轻量级网络和上下文增强模块( Context augmentationmodule,CAM)作为主干网络,在降低模型复杂程度同时,实现深层特征多感受野信息融合;采用空间与通道重建卷积(Spatial and channel reconstruction convolution,SCConv)优化中间层 C2f(Cross stage partial network fusion)模块的瓶颈结构,增强模块特征提取能力和提高模型推理速度;融合P2检测层,将基线3个检测头减至1个,增强模型对小目标的检测性能。结果表明,YOLOv8nSCS模型参数量为1.2×106、内存占用量为2.7MB、浮点数运算量为7.6伊109,在穴盘单格数据集上,其mAP50为98.3%、mAP50-95为83.8%、帧率为112f/s,相比基线模型YOLOv8n,参数量降低62.5%、mAP50提升2.5个百分点、mAP50-95提升2.1个百分点、浮点数运算量降低14.6%、帧率提升23.1%;在整盘检测任务中,其检测帧率为21f/s,检测准确率为98.2%,相比基线模型检测帧率提升8.2%、准确率提升1.1个百分点,对于播种速度800盘/h以内的72穴育苗盘和600盘/h以内的128穴育苗盘,其平均检测准确率大于96%,且单粒率、重播率和漏播率检测误差小于1.8%。本文模型在性能和计算成本之间取得了很好的平衡,降低了部署边缘设备计算要求,满足辣椒穴盘育苗播种质量在线检测需求,为育苗播种生产线智能化升级提供了技术支持。

    Abstract:

    Aiming to address the challenges of real-time and accurate detection of the seeding quality of chili seedling trays, considering the computing power limitations of edge devices, a lightweight detection algorithm YOLO v8n SCS (YOLO v8n improved with StarNet, CAM, and SCConv) was proposed based on YOLO v8n. Meanwhile, the technical strategy of “ single-cell training + whole-tray detection冶 was adopted to reduce training costs and improve training efficiency. Firstly, the StarNet lightweight network and the CAM ( Context augmentation module) were used as the backbone network to achieve multi- receptive field information fusion of deep features while reducing the complexity of the model. Secondly, the spatial and channel reconstruction convolution ( SCConv) was employed to optimize the bottleneck structure of the intermediate layer cross stage partial network fusion (C2f) module to enhance the feature extraction ability of the module and improve the model inference speed. Finally, the P2 detection layer was fused and the detection heads were reduced to one to enhance the model’s detection performance for small targets. The results showed that the YOLO v8n SCS model had a parameter quantity of 1.2 × 10 6 , a memory occupation of 2.7 MB, and a computation amount of 7.6 伊 10 9 FLOPs. On the single-cell dataset of the seedling trays, its mAP50 was 98.3% , mAP50 - 95 was 83.8% , and the frame rate was 112 f / s. Compared with the baseline model YOLO v8n, the parameter quantity was reduced by 62.5% , mAP50 was increased by 2.5 percentage points, mAP50 - 95 was increased by 2.1 percentage points, the floating-point operations were reduced by 1.3 × 10 9 , and the frame rate was increased by 23.1% . In the whole-tray detection task, its detection frame rate was 21 f / s and the detection accuracy rate was 98.2% . Compared with the baseline model, the detection frame rate was increased by 8.2% and the accuracy rate was increased by 1.1 percentage points. For 72-cell seedling trays with a seeding speed within 800 trays/ h and 128-cell seedling trays with a seeding speed within 600 trays/ h, its average detection accuracy was above 96% , and the detection errors of single-seed rate, reseeding rate, and miss-seeding rate were less than 1.8% . This study achieved a good balance between performance and computational cost, reduced the computing power requirements for deploying edge devices, met the online detection needs for the seeding quality of chili seedling trays, and provided key technical support for the intelligent upgrade of the seedling production line.

    参考文献
    相似文献
    引证文献
引用本文

孔德航,刘云强,崔巍,吴海华,张学东,宁义超.基于改进YOLO v8n的辣椒穴盘育苗播种质量轻量级检测方法[J].农业机械学报,2025,56(2):381-392. KONG Dehang, LIU Yunqiang, CUI Wei, WU Haihua, ZHANG Xuedong, NING Yichao. Lightweight Detection Method for Seeding Quality of Chili Seedling Trays Based on Improved YOLO v8n[J]. Transactions of the Chinese Society for Agricultural Machinery,2025,56(2):381-392.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2024-10-11
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2025-02-10
  • 出版日期:
文章二维码