Research and Application of Label Defect Detection Method Based on Machine Vision

Xiaokang Ren,Wenqiao Wang,Jie Ren,Xuetao Mao,Mai Zhang
DOI: https://doi.org/10.1088/1742-6596/1453/1/012084
2020-01-01
Journal of Physics: Conference Series
Abstract:Abstract For the problems of scratches and false detections such as wrinkles and other defects in the printing process, the HALCON software is used for programming, and the product label defects are detected in real time based on the photometric stereo vision technology. Firstly, by dimming the product labels of four different orientations, different orientation maps are obtained, the illumination map is calculated to obtain the albedo map, and then the four-source photometric stereo technology is used on the basis of the traditional photometric stereo technology. After obtaining the surface gradient information of the tag to be tested, the measurement image is subjected to morphological processing using the gradient information to obtain a curvature image. The curvature image is then image processed. Finally, the defective portion is filtered to effectively segment the surface defect area of the label. This method is implemented using HALCON software and is implemented in conjunction with C# mixed programming.
What problem does this paper attempt to address?