Improvement of SIFT algorithm and its application in visual inspection system for PET bottle capping defects

Aiming at the defects of PET beverage bottles in the process of capping and filling, an improved algorithm based on visual inspection is proposed. First, an improved SIFT algorithm is proposed to improve the running speed, and OPENCV, C++, and Virtual Studio are used to build the interface and implement the algorithm. The preprocessed images are analyzed by the improved SIFT algorithm, and experiments and data analysis are carried out. The research results show that compared with the traditional SIFT algorithm, the improved SIFT algorithm greatly saves the algorithm time when detecting PET bottle capping defects and retains the anti-interference ability of SIFT feature points. The detection of insufficient liquid levels provides a new method and makes the algorithm more practical and valuable.