Abstract:In order to quickly and accurately realize the non-contact detection of glass bottle crack, a glass bottle crack detection system based on image processing technology is designed and implemented. Firstly, the glass bottle mouth image is denoised and segmented, and then the centroid method is used to obtain the rough location of the center of the glass bottle. Secondly, the least squares fitting method is used to get the precise location of the center of the glass bottle through tracking the boundary of the glass bottle based on the boundary tracking algorithm. Finally, the depth first traversal algorithm is used to crack point set of clusters, so as to realize the detection of glass bottle crack.