The invention discloses a
welding seam welded area segmentation method and
system based on a semantic segmentation network and depth geometric constraint, and relates to the technical field of
welding seam welded area extraction, and the method comprises the steps: obtaining an
RGB image and a depth image of a to-be-welded part; acquiring a rectangular detection frame and a preliminary
mask for marking a welded area of the weld joint; constructing an energy model; performing global pixel-level optimization on the preliminary
mask by adopting an energy model to determine a
mask boundary, and obtaining an optimized mask; calculating to obtain a gradient field, a normal direction and a local curvature of the depth image in a boundary neighborhood, and interpolating the depth change curve along the normal direction to obtain an interpolation curve; and performing depth interpolation
processing on the optimized mask by utilizing the interpolation curve to obtain three-dimensional boundary information of the
welding seam. According to the method provided by the invention, three aspects of feature expression, geometric alignment and
engineering availability are considered at the same time, and a complete boundary
inference process from network coarse segmentation to deep geometric fine positioning is realized.