Plastic cap visual defect inspection machine utilizes high-definition imaging technology to analyze object images and obtain various parameters for real-time comparison and detection with standard products. Under the AI deep learning algorithm, the system removes unqualified products through high-speed air valves and automatically counts and divides qualified products into boxes, greatly improving production efficiency and ensuring product qualification rate.