Printed Circuit Boards (PCBs) form the backbone of modern electronic devices, making their manufacturing quality critical for product reliability and operational safety. Detecting missing electronic components during assembly remains one of the most challenging stages of quality control because conventional manual inspection is labor-intensive, time-consuming, and susceptible to human error. Recent advances in computer vision and deep learning have created opportunities for automated inspection systems capable of identifying defects with greater speed and consistency. This study investigates the application of the YOLOv8 object detection model for identifying missing PCB components through image processing. The research demonstrates how artificial intelligence can support more reliable electronic manufacturing while providing practical benefits for education, laboratory activities, and industrial quality assurance.
Bibliographic Information
| Item | Information |
|---|---|
| Article Title | Detection of Missing Components on a PCB Using Image Processing |
| Authors | Dominic O. Cagadas, Janine T. Neri, Joebert T. Osin, Marjo May T. Oro, Bhea Blair A. Sappal, and Christine Marie J. Madrid |
| Journal | Innovation in Engineering |
| Volume & Issue | Vol. 2, No. 2 |
| Publication Year | 2025 |
| Pages | 126–139 |
| DOI | https://doi.org/10.58712/ie.v2i2.40 |
| Publisher | Researcher and Lecturer Society |
| License | Creative Commons Attribution 4.0 International (CC BY 4.0) |
1. Research Background
- Printed Circuit Boards are essential components of modern electronic systems. Every electronic product relies on properly assembled PCBs to ensure reliable electrical connections between components. Missing or incorrectly installed components may lead to circuit malfunction, reduced product reliability, or complete system failure.
- Manual PCB inspection remains widely used despite its limitations. Traditional visual inspection depends heavily on human operators who must identify defects manually. This process is time-consuming, susceptible to fatigue, and vulnerable to inconsistent judgment, particularly when inspecting large production volumes.
- Image processing has become an attractive alternative for automated inspection. Computer vision techniques provide faster and more repeatable inspection than manual methods. Nevertheless, some existing approaches still struggle to achieve both high detection accuracy and real-time performance in industrial environments.
- Recent developments in deep learning have significantly improved object detection. The YOLO (You Only Look Once) family has become one of the leading real-time object detection frameworks because it simultaneously offers high detection speed and competitive accuracy across various computer vision applications.
- YOLOv8 introduces architectural improvements over earlier versions. According to the article, YOLOv8 provides enhanced object localization, improved multi-scale prediction, efficient computation, and a lightweight architecture suitable for deployment on resource-constrained edge devices such as Raspberry Pi systems.
- Quality inspection requires more than simple object recognition. Beyond detecting electronic components, inspection systems must verify whether every required component is present by comparing detected objects with a predefined reference corresponding to each PCB circuit configuration.
- The research addresses the need for practical automated PCB verification. The proposed system integrates image acquisition, deep-learning-based object detection, graphical user interaction, and component validation into a single workflow capable of identifying missing PCB components in real time.
- The study also targets educational applications. Besides industrial quality control, the developed system is intended to support laboratory learning by helping students and instructors verify PCB assemblies during electronics experiments and practical activities.
- The novelty lies in combining real-time object detection with PCB component validation. Instead of merely recognizing electronic components, the developed framework automatically compares detected components with predefined circuit datasets to determine whether a PCB is complete, missing components, or contains unexpected components.
2. Research Objectives
- To design and develop a YOLOv8-based object detection system capable of accurately identifying PCB components and detecting missing components within multiple PCB circuit configurations.
- To develop a graphical user interface (GUI) that enables users to select different PCB circuit types before performing automated inspection.
- To evaluate the effectiveness of the proposed object detection model in recognizing PCB components under practical inspection conditions.
- To verify PCB correctness by comparing detected components against predefined ground-truth component lists for each supported circuit design.
- To investigate the suitability of AI-assisted image processing for improving PCB inspection efficiency in educational laboratories and electronics manufacturing environments.
3. Why This Research Matters
- Supports higher manufacturing quality. Automated component verification helps reduce assembly errors before electronic products proceed to later production stages.
- Reduces dependence on manual inspection. AI-assisted inspection minimizes human error while improving inspection consistency across repeated quality control tasks.
- Improves production efficiency. Real-time object detection enables faster inspection compared with traditional manual verification methods, contributing to more efficient production workflows.
- Advances intelligent manufacturing technologies. The implementation of deep learning demonstrates how artificial intelligence can be integrated into electronics manufacturing for automated quality assurance.
- Encourages practical AI adoption in engineering education. The developed system can assist students and instructors in laboratory exercises by providing immediate feedback on PCB assembly completeness.
- Supports Industry 4.0 initiatives. Machine vision, edge computing, and intelligent inspection systems represent important components of digital manufacturing and smart factory environments.
- Contributes to sustainable manufacturing. Early detection of missing components reduces defective products, minimizes material waste, and decreases unnecessary rework during electronic production.
4. Research Methodology
-
Research Type
The study employed an applied engineering research approach focused on designing, implementing, and evaluating an intelligent image-processing system for detecting missing PCB components using deep learning techniques.
-
Research Framework
The proposed framework consists of three major stages: image acquisition, AI-based component detection, and automated validation against predefined PCB component datasets. The workflow concludes by reporting whether the inspected PCB is complete or contains missing or additional components.
-
Hardware Platform
The inspection system was implemented using a Raspberry Pi platform equipped with a camera module for image acquisition. The hardware was integrated into a dedicated inspection enclosure designed for PCB imaging.
-
Object Detection Model
YOLOv8 Nano from Ultralytics served as the primary object detection model. The model was selected because of its balance between computational efficiency and detection accuracy, making it appropriate for deployment on embedded hardware.
-
Software Development
The graphical user interface was developed using Python with the Tkinter library. Users first select the PCB circuit type before initiating image capture and automatic component detection.
-
Supported PCB Circuits
The system was trained and evaluated using four PCB circuit categories: Half-Wave Rectifier, Full-Wave Rectifier, Flip-Flop Circuit, and Pre-Amplifier Circuit. Each circuit possesses its own predefined component list for verification.
-
Dataset Preparation
The object detection model was trained using an annotated image dataset consisting of 3,422 PCB images. The dataset was divided into 70% for training, 20% for validation, and 10% for testing.
-
Evaluation Metrics
Model performance was assessed using confusion matrices, weighted precision, recall, F1-score, overall detection accuracy, and practical testing under both ideal and non-ideal environmental conditions.
-
User Evaluation
In addition to technical performance, user perceptions were collected through questionnaire-based evaluation involving students and technicians. The assessment considered four quality aspects: accuracy, functionality, reliability, and user-friendliness using a five-point Likert scale.
-
Validation Strategy
Detected PCB components were automatically compared with predefined ground-truth component lists. Based on the comparison, the system classified each PCB as complete, missing components, or containing additional components beyond the expected configuration.
5. Key Findings
YOLOv8 Achieved High PCB Component Detection Accuracy
One of the most significant outcomes of the study is the excellent detection performance achieved by the proposed object detection model. Using YOLOv8, the developed system obtained an overall accuracy of approximately 98.3% across 773 detected component instances representing six component classes. This result demonstrates that modern deep-learning object detection can reliably recognize common electronic components used in PCB assemblies.
The high detection accuracy indicates that the selected model is capable of supporting automated PCB verification with minimal classification errors. Such performance is particularly important in electronics manufacturing, where even a single missing component may compromise the functionality of an entire electronic device.
The Inspection System Maintained Strong Performance Under Different Operating Conditions
The researchers evaluated the system under both ideal and non-ideal inspection environments. Under controlled conditions, the proposed system achieved approximately 98% detection accuracy, while performance remained high at approximately 96% even when environmental conditions became less favorable.
Although the error rate increased from about 1% to 3% under non-ideal conditions, the overall results suggest that the developed inspection framework remains sufficiently robust for practical applications. At the same time, the findings highlight the importance of adequate lighting, image quality, and camera positioning to maximize detection performance.
Component Verification Goes Beyond Conventional Object Detection
Rather than simply identifying electronic components appearing in an image, the proposed system automatically compares detected objects against predefined ground-truth component lists corresponding to each PCB circuit. This additional validation stage enables the system to determine whether a circuit is complete, contains missing components, or includes unexpected components.
This verification strategy significantly enhances the practical value of the system because manufacturing quality control requires confirmation of assembly completeness rather than merely recognizing individual electronic parts.
The Dataset and Model Training Produced Consistent Classification Performance
The object detection model was trained using a dataset containing more than three thousand annotated PCB images and evaluated using separate validation and testing subsets. Confusion matrix analysis demonstrated excellent classification performance for most component categories, particularly transistors, LEDs, capacitors, and rectifiers.
Although resistor detection exhibited relatively greater classification difficulty because of class imbalance and visual similarity with other components, the overall weighted precision, recall, and F1-score remained above 98%, indicating balanced model performance across multiple component classes.
User Evaluation Confirmed Practical System Acceptance
Besides technical evaluation, the researchers assessed user perceptions through questionnaires involving students, technicians, and instructors. Respondents rated the developed system highly across multiple quality dimensions, including accuracy, functionality, reliability, and user-friendliness.
These results suggest that the proposed inspection system is technically effective while also being sufficiently intuitive for practical use in educational laboratories and industrial environments where users may possess different levels of technical expertise.
The Proposed System Demonstrates Practical Potential for PCB Quality Control
The integration of Raspberry Pi hardware, YOLOv8 object detection, Python-based graphical interfaces, and automated component verification illustrates that intelligent PCB inspection can be implemented using relatively accessible computing platforms. The proposed architecture provides a complete workflow from image acquisition through defect reporting.
Rather than replacing engineers or technicians, the developed framework functions as an intelligent inspection assistant capable of reducing repetitive visual inspection tasks while improving consistency throughout the quality assurance process.
6. Scientific Contribution
- Introduces an AI-assisted PCB inspection framework that integrates image acquisition, deep-learning object detection, graphical user interaction, and automatic component validation into a unified inspection workflow.
- Demonstrates the application of YOLOv8 for PCB component verification, extending object detection beyond simple recognition toward automatic identification of missing electronic components.
- Provides an automated comparison mechanism between detected PCB components and predefined ground-truth circuit configurations to verify assembly completeness.
- Combines embedded computing with computer vision through Raspberry Pi implementation, illustrating the feasibility of deploying lightweight AI models on practical inspection hardware.
- Contributes to engineering education by developing an inspection tool that supports laboratory exercises, electronics training, and practical learning involving PCB assembly.
- Expands the application of deep learning within electronics manufacturing by demonstrating how computer vision can improve quality assurance and reduce inspection errors.
7. Industrial Implications
- Improves electronics manufacturing quality control. Automated detection of missing PCB components enables earlier identification of assembly defects before products proceed to later production stages.
- Reduces inspection time. Real-time object detection allows manufacturers to inspect PCB assemblies more rapidly than conventional manual visual inspection.
- Minimizes human inspection errors. AI-assisted verification provides more consistent inspection results by reducing variability associated with operator fatigue and subjective judgment.
- Supports Industry 4.0 manufacturing. The integration of embedded computing, computer vision, and deep learning aligns with intelligent manufacturing strategies emphasizing automation and digital quality assurance.
- Enhances production efficiency. Early identification of incomplete PCB assemblies reduces unnecessary downstream processing, rework, and production delays.
- Facilitates deployment on edge devices. Because the proposed system utilizes Raspberry Pi hardware together with the lightweight YOLOv8 Nano model, it offers practical opportunities for low-cost inspection stations within manufacturing facilities.
- Supports engineering education laboratories. Universities and technical training centers may employ the developed system to assist students during PCB assembly and electronics laboratory exercises.
- Promotes sustainable manufacturing. Earlier defect detection contributes to lower material waste, fewer defective products, and more efficient utilization of manufacturing resources.
8. Research Limitations
- The developed system focuses on detecting missing electronic components and comparing them with predefined component lists. The study does not attempt to verify electrical connectivity, solder joint quality, or component orientation.
- Only four PCB circuit categories—Half-Wave Rectifier, Full-Wave Rectifier, Flip-Flop, and Pre-Amplifier circuits—were included in the experimental evaluation. Additional circuit types would further demonstrate the general applicability of the proposed framework.
- The object detection model was trained using a dataset collected specifically for this research. Performance may require additional validation when applied to PCB designs containing substantially different layouts, component packages, or manufacturing characteristics.
- The authors acknowledge that inspection accuracy is influenced by environmental conditions such as camera resolution, lighting quality, and image acquisition setup. Appropriate imaging conditions remain important for maintaining optimal detection performance.
- Although resistor detection achieved satisfactory performance overall, confusion matrix analysis indicates that some component classes remain more challenging than others because of visual similarity and dataset imbalance.
- The evaluation emphasizes object detection performance and user acceptance rather than long-term industrial deployment, production throughput, or economic cost-benefit analysis.
- The implemented system identifies whether components are present or missing but does not estimate component values, determine precise placement accuracy, or validate complete circuit functionality.
9. Future Research Opportunities
- Expand the object detection model to recognize a broader range of electronic components, including integrated circuits (ICs), inductors, connectors, microcontrollers, and surface-mount devices (SMDs) commonly used in industrial PCB assemblies.
- Evaluate the proposed inspection framework using more diverse PCB layouts collected from commercial manufacturing environments to investigate its robustness across different production scenarios.
- Integrate automatic component orientation verification so that the system can detect incorrectly rotated or misplaced components in addition to missing components.
- Combine object detection with solder joint inspection to provide a more comprehensive quality assurance system capable of identifying both assembly and soldering defects.
- Investigate the use of higher-resolution imaging systems, adaptive illumination techniques, and multiple camera viewpoints to improve detection accuracy under challenging inspection conditions.
- Compare YOLOv8 with other state-of-the-art deep learning architectures, including Transformer-based object detection models, to determine the most suitable approach for embedded PCB inspection systems.
- Develop cloud-connected or Industrial Internet of Things (IIoT) versions of the inspection system to support centralized quality monitoring and real-time production analytics within smart manufacturing environments.
- Investigate automatic model updating through continual learning techniques so that new PCB designs and component types can be incorporated without requiring complete retraining.
- Assess long-term deployment performance in industrial production lines by measuring inspection speed, reliability, maintenance requirements, and operational cost over extended manufacturing periods.
- Explore integration with Manufacturing Execution Systems (MES) and digital quality management platforms to enable fully automated inspection reporting and traceability throughout the electronics manufacturing process.
10. Potential for Public Policy Citation (Overton)
This article demonstrates moderate potential for future citation in public policy and technical guidance documents related to electronics manufacturing, industrial digitalization, and engineering education. The study presents a practical implementation of artificial intelligence for automated PCB quality inspection using image processing and embedded computing, aligning with ongoing initiatives that promote smart manufacturing and Industry 4.0 transformation.
The proposed framework could be referenced in government programs supporting digital manufacturing, workforce upskilling, vocational education, electronics production modernization, and AI adoption within manufacturing industries. Because the developed system utilizes accessible hardware and open AI technologies, it may also serve as a useful example for technology demonstration projects and educational laboratory development.
Nevertheless, the research primarily represents an engineering implementation evaluated within a specific application context rather than a comprehensive industrial standard. Consequently, its direct relevance to regulatory policy, national manufacturing standards, or international technical specifications remains limited until additional validation across larger industrial environments becomes available.
11. Who Should Read This Paper?
- Computer vision researchers.
- Artificial intelligence researchers.
- Electronics manufacturing engineers.
- Quality assurance engineers.
- Printed Circuit Board (PCB) designers.
- Automation engineers.
- Embedded systems developers.
- Industrial engineers working in smart manufacturing.
- Graduate students in electronics, computer engineering, and artificial intelligence.
- Engineering educators involved in electronics laboratory instruction.
- Researchers studying industrial image processing and object detection.
- Professionals interested in Industry 4.0 and intelligent manufacturing technologies.
12. Final Thoughts
This research provides a practical demonstration of how recent advances in computer vision can improve quality assurance within electronics manufacturing. By combining YOLOv8 object detection, Raspberry Pi-based embedded hardware, image processing, and an intuitive graphical user interface, the authors developed an inspection framework capable of identifying missing PCB components with a high level of accuracy. Rather than functioning solely as an object recognition system, the proposed solution performs automated verification by comparing detected components with predefined circuit configurations, thereby addressing a common challenge in PCB assembly inspection.
One of the study's principal strengths lies in its balance between technical performance and practical implementation. The reported detection accuracy, together with positive user evaluations, indicates that the developed system can support both educational laboratory activities and industrial inspection tasks. The use of lightweight hardware also illustrates that advanced deep learning techniques are becoming increasingly accessible for embedded engineering applications.
Although the evaluation focuses on a limited number of PCB circuit types, the proposed methodology establishes a solid foundation for future research involving more complex assemblies, broader component libraries, and fully automated smart manufacturing systems. Overall, this article represents a valuable contribution to applied artificial intelligence, computer vision, and electronics manufacturing by demonstrating how intelligent inspection technologies can improve accuracy, efficiency, and consistency throughout PCB quality control processes.
Suggested Citation
UNP–Teknomekanik Style
Cagadas DO, Neri JT, Osin JT, Oro MMT, Sappal BBA, Madrid CMJ. Detection of missing components on a PCB using image processing. Innovation in Engineering. 2025;2(2):126–139. DOI: https://doi.org/10.58712/ie.v2i2.40
APA (7th Edition)
Cagadas, D. O., Neri, J. T., Osin, J. T., Oro, M. M. T., Sappal, B. B. A., & Madrid, C. M. J. (2025). Detection of missing components on a PCB using image processing. Innovation in Engineering, 2(2), 126–139. https://doi.org/10.58712/ie.v2i2.40
IEEE Style
D. O. Cagadas, J. T. Neri, J. T. Osin, M. M. T. Oro, B. B. A. Sappal, and C. M. J. Madrid, "Detection of missing components on a PCB using image processing," Innovation in Engineering, vol. 2, no. 2, pp. 126–139, 2025, doi: 10.58712/ie.v2i2.40.
Harvard Style
Cagadas, D.O., Neri, J.T., Osin, J.T., Oro, M.M.T., Sappal, B.B.A. and Madrid, C.M.J., 2025. Detection of missing components on a PCB using image processing. Innovation in Engineering, 2(2), pp.126–139. Available at: https://doi.org/10.58712/ie.v2i2.40.
Vancouver Style
Cagadas DO, Neri JT, Osin JT, Oro MMT, Sappal BBA, Madrid CMJ. Detection of missing components on a PCB using image processing. Innovation in Engineering. 2025;2(2):126–139. Available from: https://doi.org/10.58712/ie.v2i2.40
Chicago (Author–Date)
Cagadas, Dominic O., Janine T. Neri, Joebert T. Osin, Marjo May T. Oro, Bhea Blair A. Sappal, and Christine Marie J. Madrid. 2025. "Detection of Missing Components on a PCB Using Image Processing." Innovation in Engineering 2 (2): 126–139. https://doi.org/10.58712/ie.v2i2.40.
MLA (9th Edition)
Cagadas, Dominic O., et al. "Detection of Missing Components on a PCB Using Image Processing." Innovation in Engineering, vol. 2, no. 2, 2025, pp. 126–139. https://doi.org/10.58712/ie.v2i2.40.
Editorial Note
Editorial Note: This blog post is an independent scholarly review intended for educational and scientific communication purposes. It summarizes and discusses the published article in the author's own words while providing full attribution to the original publication, consistent with the principles of the CC BY 4.0 license.
SEO Information
SEO Meta Description
A comprehensive scholarly review of a 2025 Innovation in Engineering article exploring YOLOv8-based image processing for detecting missing PCB components. Learn how AI-powered computer vision improves PCB quality inspection, manufacturing efficiency, and electronics engineering.
SEO Keywords
YOLOv8 PCB inspection, PCB defect detection, missing PCB components, computer vision PCB, image processing, AI quality inspection, printed circuit board inspection, object detection, deep learning PCB, electronics manufacturing, Raspberry Pi AI, Industry 4.0, machine vision, PCB quality control, Innovation in Engineering review
Recommended URL Slug
how-yolov8-improves-pcb-quality-inspection
Discoverability
- Artificial Intelligence
- Computer Vision
- Object Detection
- Deep Learning
- Printed Circuit Board (PCB)
- Electronics Manufacturing
- Image Processing
- Quality Inspection
- Embedded Systems
- Raspberry Pi
- Machine Vision
- Industrial Automation
- Industry 4.0
- Engineering Research Review
- Innovation in Engineering

Comments
Post a Comment