The invention discloses a
die casting burr detection
system and method based on
machine vision, and relates to the field of
machine vision detection.The method comprises the steps that based on a spectral
feature vector set, a curved surface self-adaptive optical compensation mechanism is used, a polarization-
spectral image set is obtained again through light path optimization, and the optimized polarization-
spectral image set is obtained and corrected; generating a high-resolution image set, performing illumination distribution analysis on the surface of the
die casting through the high-resolution image set to form a multi-
exposure image set, inputting the multi-
exposure image set into the constructed U-Net model for semantic segmentation, generating a high-dynamic-range image, and performing shadow
elimination on the high-dynamic-range image by applying a gradient Poisson fusion
algorithm to obtain a high-dynamic-range image. And after the shadow is eliminated, a pre-trained
Mask-R-CNN model is used for detection, and a burr detection result is output. According to the method, the polarization-spectrum image set is optimized through curved surface
adaptive optics, and imaging optimization and geometric correction of a complex curved surface area are achieved.