The invention relates to the technical field of
image analysis and detection, in particular to a glass
bottle label defect detection method and
system based on
image processing, and the method comprises the steps: obtaining a high-resolution image through a fixed-angle
light source and near-
infrared irradiation, carrying out the
noise suppression
processing through gradient enhancement filtering, detecting the
label edge, and recognizing the
label region boundary. And obtaining a label area image. According to the invention, high-resolution
image acquisition is combined with gradient enhanced filtering, so that the identification precision of the label area is improved. Local detection unit division and
fiber arrangement direction analysis enable direction abnormal region positioning to be more accurate.
Spatial density analysis of
mutation point distribution effectively distinguishes the
fiber fracture degree, and misjudgment is avoided. And multi-scale calculation is combined with consistency fluctuation rate and
density change rate
cross validation, so that the defect detection stability is enhanced. And through
gradient analysis of the fluctuation accumulation amplitude and the direction concentration deviation value, the defect classification accuracy is improved, and the defects of scratches, tearing, falling, label
dislocation and the like can be effectively distinguished.