I. Introduction
In industrial production, product quality inspection is an important part to ensure product qualification rate and reduce cost. Traditional methods of industrial defective product inspection mainly rely on manual vision or special equipment, which have some drawbacks, such as manual vision is easily affected by subjective factors, fatigue, and environment, while special equipment requires high cost and maintenance. With the development of deep learning technology, target detection methods based on YOLOv5 networks have achieved remarkable results in natural scenes, and these methods can also be applied to industrial salvage detection to improve the accuracy and efficiency of detection. The purpose of this paper is to study and design a yolov5-based industrial defective product detection system, which can perform fast, accurate and stable defective product detection for different types and sizes of industrial products, and achieve automated and intelligent quality control.