面向平房仓的表观病害智能识别方法与系统实现

    Intelligent identification method and system development for surface defects of horizontal silos

    • 摘要: 针对传统平房仓表观病害人工巡检效率低、易漏检,且现有识别方法在有无涂层及复杂背景下鲁棒性不足的问题,提出一种面向平房仓的表观病害智能识别方法及工程化系统。基于YOLOv5s模型,在主干与颈部结构中分别引入C3-SE-SimAM和CBAM-Spatial注意力模块,以增强微弱病害特征提取能力并抑制背景干扰;设计基于MobileNetV3-small的前置分类器感知表面涂层状态,驱动检测分支自适应路由,缓解因涂层差异引起的特征分布偏移;基于PyQt5开发了支持多源输入与自动化报告生成的检测系统。结果表明:在自建数据集上,前置分类器对表面涂层状态的识别准确率达96%;改进模型在有/无涂层工况下的平均精度均值(mAP)分别达0.812与0.808,较基线模型均提升24.9%;在参数量微增的条件下,显著提升了跨工况检测的稳定性与鲁棒性;系统端到端处理速度>60 帧/s,单仓巡检时间<10 min,满足实时化运维需求。本研究构建了一种兼顾检测精度、模型轻量化与跨工况适应性的表观病害识别方案,为平房仓常态化智能巡检提供了可靠的技术支撑。

       

      Abstract: Horizontal silos are crucial in China’s grain storage system. Surface defects directly compromise structural integrity and storage safety. Traditional manual inspection of horizontal silo surface suffers from low efficiency and frequent missed detection, while existing recognition methods lack sufficient robustness in scenarios with or without surface coatings and complex backgrounds. This study develops an intelligent surface defect identification method for horizontal silos and develops its engineered application system. Based on YOLOv5s model, C3-SE-SimAM and CBAM-Spatial attention modules are introduced into the backbone and neck structure, respectively, to enhance the extraction capability of weak defect features and suppress complex background interference. A MobileNetV3-small-based pre-classifier is designed to perceive the surface coating state and drive adaptive routing of the detection branch, which alleviates the feature distribution shift caused by coating differences. Meanwhile, a detection system supporting multi-source input and automatic report generation is developed based on PyQt5. A dedicated dataset (GWS-DD) containing 2 740 images for coating classification and 2 740 images for defect annotation was constructed. On the coated surface test set (D1), the improved model achieved a mean average precision (mAP) of 0.812, a recall of 0.827, a precision of 0.835, and an F1-score of 0.831. On the uncoated set (D2), the model achieved mAP, recall, precision, and F1-score values of 0.808, 0.812, 0.814, and 0.813, respectively, representing a 24.9% mAP improvement over the baseline YOLOv5s model across the two test sets. Comparative experiments showed that the proposed method outperforms Faster R-CNN, YOLOv7-tiny, and YOLOv8s, with mAP gains ranging from 25.7% to 35.6%. Cross-domain validation revealed that the model trained on coated surfaces suffered at 36.8% mAP drop when directly applied to uncoated surfaces, while the reverse application resulted in a 41.2% mAP decline. In contrast, the proposed coating-aware adaptive routing improved the mAP by 12.5% and 11.9% on coated and uncoated surfaces, respectively, compared with the unified model trained on mixed datasets. The integrated system achieved a frame rate of over 60 FPS on an RTX 5060 Ti GPU, reducing the manual silo inspection time from 2-3 hours to less than 10 minutes. By synergistically integrating lightweight attention mechanisms and a coating-aware adaptive pipeline, the proposed method effectively alleviates feature distribution shifts. The developed system greatly improves inspection efficiency and standardization, providing solid technical support for the daily maintenance and safe operation of grain storage infrastructure.

       

    /

    返回文章
    返回