The electronic plug-in manufacturing process has very strict product quality requirements. For the manufacturing process of hundreds or even thousands of electronic plug-ins per minute, even a high product qualification rate of 1% means huge economic benefits.However, most of the plug-in production lines are still in labor-intensive production methods, including some high-precision military or foreign-funded enterprises.The quality inspection process of the product in the manufacturing process mainly depends on the completion of the work inspection.The labor-intensive, high-cost and low-efficiency testing of manual testing has seriously hampered the modernization process of enterprises to improve product quality, reduce production costs, and enhance market competitiveness.And machine vision detection technology is an effective countermeasure to solve this thorny problem.