Vision-Based PCB Defect Detection Using YOLOv5 and MobileNetV2 with Grad-CAM

Julius Fusic, S (2027) Vision-Based PCB Defect Detection Using YOLOv5 and MobileNetV2 with Grad-CAM. Proceedings of International Conference on Computational Intelligence (ICCI 2025). pp. 194-205.

[thumbnail of Vision.pdf] Text
Vision.pdf - Published Version

Download (471kB)

Abstract

Printed Circuit Board (PCB) defects such as mouse bites and missing holes significantly impact the reliability of electronic devices. Traditional PCB defect inspection technique relies on worker experience and unreliable in accuracy and scalability. This paper presents a hybrid vision-based approach that integrates YOLOv5 for defect detection, MobileNetV2 for defect verifying and reducing false positives, and Grad-CAM for generating visual heatmaps that highlight critical defect regions. YOLOv5 efficiently identifies potential defect locations, while MobileNetV2 acts as a lightweight classifier to ensure only true defects are identified. Grad-CAM provides interpretability by visually explaining the model’s decisions, aiding quality control operators. Performance metrics including precision, recall, and F1-score are employed to evaluate detection performance comprehensively. Additionally, a severity index is computed based on the nature of the defects according to their effect of the PCB’s function. The proposed method’s advantage in detection accuracy, false positive minimization, and effective interpretability are demonstrated. This work improves vision-based PCB defect inspection systems through a reliable and interpretable 3-level machine vision method for PCB defect detection. This work improves vision-based PCB defect inspection systems through a reliable and interpretable 3-level machine vision method for PCB defect detection.

Item Type: Article
Subjects: Electrical and Electronics Engineering > Image Processing
Divisions: Electrical and Electronics Engineering
Depositing User: Dr Krishnamurthy V
Date Deposited: 15 Oct 2026 06:36
Last Modified: 15 Oct 2026 06:36
URI: https://ir.psgitech.ac.in/id/eprint/1957

Actions (login required)

View Item
View Item