This paper proposes an automated defect detection system for DIP (Dual In-Line Package) components, widely used in industrial settings. To address the time-consuming and labor-intensive nature of conventional manual defect detection, we leverage a digital camera and a deep learning-based model. We detect two major defect types in DIP components (surface defects and pin leg defects) and utilize ConSinGAN to address the limited dataset required for training and testing. We compare and analyze various YOLO models (v3, v4, v7, and v9) with ConSinGAN augmentation. YOLOv7 combined with ConSinGAN demonstrates the best performance, achieving 95.50% accuracy and a detection time of 285 ms. Furthermore, we develop a SCADA system and describe its associated sensor architecture.