The invention discloses a weldment
welding seam automatic detection method and device based on
machine vision, and relates to the technical field of
machine vision intelligent detection. The weldment
welding seam automatic detection method and device based on
machine vision comprises the steps that S1, surface images and forming
feature data of a weldment are collected and preprocessed to construct a standardized image
feature data set; s2, the boundary clearness of the weld joint is evaluated by combining the
edge strength and the contour coherence, and the main contour extraction range is dynamically adjusted; s3, analyzing abnormal focusing characteristics of the candidate area, and adjusting a defect labeling range and a detection priority; and S4, integrating the boundary definition and the abnormal focusing features, analyzing the structure
abnormality, and dynamically controlling and verifying a
resource allocation strategy. The problems that in the weldment detection process, obvious
light reflection and texture blurring phenomena exist in a heat affected area at a weld joint, a traditional
image enhancement and
edge extraction algorithm is difficult to stably recognize microdefects, and the credibility of a detection result is reduced are solved.