中国农业机械化科学研究院集团有限公司 主管

北京卓众出版有限公司 主办

基于图像预处理与YOLO26s的马铃薯表面缺陷检测方法

Potato surface defect detection based on image preprocessing and YOLO26s

  • 摘要: 针对马铃薯人工分选效率低、主观偏差大的产业瓶颈,以及复杂场景下缺陷特征辨识度不足、小样本条件下检测模型能力弱、检测精度与边缘部署效率难以协同提升的技术难题,提出一种融合多级图像预处理与轻量化YOLO26s网络架构的马铃薯表面缺陷检测方法。该模型应用图像预处理提取及剔除背景干扰,实现复杂环境下缺陷特征的有效增强;模型层面选用轻量化YOLO26s网络架构,加载预训练权重实施迁移学习,缓解小样本训练的过拟合风险,兼顾检测精度与边缘端推理效率。试验结果表明,该模型全类别平均精度均值达0.881;单幅图像在训练平台推理耗时8.5 ms,在树莓派5边缘设备上推理耗时仅186 ms;相较于基础模型YOLO11n、YOLOv8n,综合检测性能分别提升10%与9%。同时该模型在小样本工况下具备优异的检测稳定性与高精度,边缘设备适配性良好,可为马铃薯智能分选装备的工业化落地提供技术参考与方案支撑。

     

    Abstract: Aiming at problems of low efficiency and strong subjectivity in manual potato sorting, insufficient defect recognition accuracy under complex illumination, weak generalization ability of small-sample detection, and difficult deployment of edge devices, a potato surface defect detection method integrating multi-layer image preprocessing and lightweight YOLO26s model was proposed.This model applied image preprocessing to extract and eliminate background interference, effectively enhancing defect features in complex environments.At the model level, lightweight YOLO26s network architecture was adopted, and transfer learning was implemented with pre-trained weights loaded, which alleviated overfitting risk in small-sample training and balanced detection accuracy and edge-side inference efficiency.Experimental results showed that proposed method achieved a mean average precision at mAP50 of 0.881.Inference time for a single image was 8.5 ms on training platform and only 186 ms on the Raspberry Pi 5 edge device.Compared to baseline models YOLO11n and YOLOv8n, comprehensive detection performance has been improved by 10% and 9% respectively.This method boasted excellent detection stability and high accuracy in small-sample scenarios, with sound adaptability to edge devices.It could provide technical reference and solution support for industrial application of intelligent potato sorting equipment.

     

/

返回文章
返回