Abstract:Metal Active Gas welding is one of the widely applied welding techniques using argon and carbon dioxide as shielding gas. In response to the problem of welding halo and drag shadow during the image acquisition process of it, which makes it difficult to accurately extract the contour of the molten pool, this paper proposes a molten pool edge detection method that combines dark channel prior dehazing and improved single scale Retinex image enhancement algorithm. This method overcomes the problem of excessive edge noise in the original molten pool image and the difficulty in feature extraction caused by the dark part of the molten pool after dark channel prior dehazing processing. Through comparative experiments and ablation experiments, it has been shown that the algorithm proposed in this paper has significantly improved the enhancement effect and feature extraction effect, extracting accurate and complete molten pool contours.