基于深度学习的多级水尺水位视觉测量方法

    Visual measurement method of multi-level water gauge based on deep learning

    • 摘要: 基于图像识别的水尺水位测量技术相比雷达、超声波等非接触式水位计,具有可倾斜探测、结果直观、无温漂等优势,近年来在单级直立式水尺测量中逐步得到应用。对于缓坡宽断面普遍采用的矮桩式多级水尺存在的巡检效率低、系统标定复杂、远距小目标及水位线检测精度受限等问题,提出一种联合目标检测与水位线回归的多级水尺水位视觉测量方法,采用高清定焦摄像机搭建岸基式在线测量系统,引入 CBAM 注意力机制并增设小目标检测头的 YOLOv5 目标检测网络进行目标检测,并采用多尺度特征融合与SE通道注意力机制的SE-HRNetS水位线回归模型改善低分辨率图像的水位线检测精度。为验证方法性能,在实验站点开展了不同光照和水流条件下的比测实验。实验结果表明,系统在实验站点数据集上的平均精度达到了94.82%,在昼夜及洪水场景下水位测量的综合不确定度小于1.72cm。研究成果可为缓坡宽断面的中小河流水位视觉测量提供直观、高效的解决方案。

       

      Abstract: Vision-based water gauge measurement technology offers advantages over conventional non-contact meters including oblique detection capability, intuitive results, and no temperature drift. In recent years, it has seen increasing application in single-level vertical gauge measurements. However, for short-pile multi-level gauges, commonly used in wide rivers with gentle slopes, several challenges persist: low manual inspection efficiency, complex system calibration, and limited detection accuracy for distant small targets and the water line. This paper proposes a visual measurement method for multi-level gauges that integrates object detection and water line regression. A bank-based online measurement system is constructed using a high-definition fixed-focus camera. For object detection, an enhanced YOLOv5 network is employed, incorporating the CBAM attention mechanism and an additional small object detection head. Furthermore, the SE-HRNetS water line regression model, utilizing multi-scale feature fusion and the SE channel attention mechanism, is adopted to improve water line detection accuracy in low-resolution images. To validate performance, comparative tests were conducted at an experimental site under varying lighting and water flow conditions. Experimental results show that the system achieves an Average Precision of 94.82% on the local dataset. The comprehensive uncertainty of water level measurement is less than 1.72 cm under diurnal and flood scenarios. The research provides an intuitive and efficient solution for visual water level measurement in small to medium-sized rivers with wide, gently sloping cross-sections.

       

    /

    返回文章
    返回