Abstract
Laser vision sensors for weld seam extraction face critical challenges due to arc light and spatter interference in welding environments. This paper presents a real-time weld seam extraction method. The proposed framework enhances robustness through the sequential processing of historical frame data. First, an initial noise-free laser stripe image of the weld seam is acquired prior to arc ignition, from which the laser stripe region and slope characteristics are extracted. Subsequently, during welding, a dynamic region of interest (ROI) is generated for the current frame based on the preceding frame, effectively suppressing spatter and arc interference. Within the ROI, adaptive Otsu thresholding segmentation and morphological filtering are applied to isolate the laser stripe. An optimized RANSAC algorithm, incorporating slope constraints derived from historical frames, is then employed to achieve robust laser stripe fitting. The geometric center coordinates of the weld seam are derived through the rigorous analysis of the optimized laser stripe profile. Experimental results from various types of weld seam extraction validated the accuracy and real-time performance of the proposed method.