The application discloses a
soldering contour extraction method, device, equipment and storage medium. The method first acquires a two-dimensional image and a three-dimensional
height map of a target detection object; performs
image segmentation on the two-dimensional image to obtain an initial
mask; modifies the initial
mask based on height information in the three-dimensional
height map to obtain a target
mask; extracts an edge of the target mask to obtain a closed contour
point sequence; performs geometric fitting on the closed contour
point sequence to convert the closed contour
point sequence into an initial
geometric primitive sequence containing line segments and arc line segments; performs primitive position alignment and intersection reconstruction on the initial
geometric primitive sequence based on a preset geometric rule to obtain a target
geometric primitive sequence; and generates
soldering contour data of the target detection
object based on the target geometric primitive sequence. The application can improve the precision of the extracted contour data and thus improve the accuracy of SPI detection.