轨道扣件缺失检测是铁路日常巡检的一项重要内容,结合现代化铁路对自动化检测技术的实时性和自适应性要求,提出了一种基于机器视觉的轨道扣件缺失实时检测方法.为了应对环境光线的干扰,设计了遮光罩加LED辅助光源的图像采集装置,利用开关型中值滤波和基于图像梯度幅值的改进Canny边缘检测方法,对扣件边缘特征进行自适应图像增强.结合扣件弹条稳定的内外边缘轮廓特征,利用基于曲线特征投影的模板匹配实现了扣件缺失的实时检测.经过实验验证,平均每帧图像的处理时间为245.61ms,平均正确识别率为85.8%,且该方法具有一定的自适应性,最高支持3.82m/s的推行速度,可满足对实际运营线路进行扣件缺失实时检测的需求.
The detection of missing track fasteners is an important part of daily inspection of the railway. Owing to the new requirements of real-time and self adaptation of the automatic detection technology, a method of real-time detection of missing track fasteners based on machine vision is proposed in this paper. In order to deal with the interference of environmental light, the image acquisition device includes hood and light-emitting diode (LED) auxiliary light source. The switching median filtering is used and the Canny edge detection is improved based on image gradient amplitude for image adaptive enhancement of the characteristics of fastener edges. The feature of article fasteners to play in stable boundary and the projection curve characteristics of template matching are combined to realize the real-time detection of missing fasteners. Experimental results showed that the image detection time of every frame is 245.61 ms, the average of ecognition accuracy is 85.8%. The highest speed of real time detection of missing fastener of actual operation line is 3.82 m/s. These results suggest that the proposed method is adaptive.