Next Article in Journal
Digital Economies and Artificial Intelligence: Unlocking Eco-Innovation in Asian Firms
Previous Article in Journal
From Chaos to Gleichgewicht: An Application-Specific BiLSTM Framework with SMOTE, SHAP, and TF-IDF-Based Safety Support for Proxy Risk Screening on Noisy Social Media
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

PCBVisionNet: An Attention-Guided CNN Framework for Automated PCB Defect Classification with Explainable Localization

by
Fatema A. Albalooshi
1,* and
M. R. Qader
2
1
College of Information Technology, University of Bahrain, Sakhir P.O. Box 32038, Bahrain
2
College of Engineering, University of Bahrain, Sakhir P.O. Box 32038, Bahrain
*
Author to whom correspondence should be addressed.
Computation 2026, 14(8), 168; https://doi.org/10.3390/computation14080168
Submission received: 3 July 2026 / Revised: 16 July 2026 / Accepted: 23 July 2026 / Published: 28 July 2026
(This article belongs to the Section Computational Engineering)

Abstract

The rapid miniaturization and increasing complexity of Printed Circuit Boards (PCBs) have rendered traditional automated optical inspection (AOI) systems inadequate for high-precision defect detection. While deep learning approaches have shown promise, they often struggle to balance the need for high-resolution feature extraction with the computational efficiency required for real-time industrial deployment. Furthermore, the “black-box” nature of most convolutional neural networks (CNNs) limits their adoption in stringent quality assurance environments where interpretability is paramount. To address these challenges, this paper proposes PCBVisionNet, a novel, lightweight deep learning architecture specifically engineered for automated multi-class PCB defect classification. The framework integrates a Dual-Domain Attention Mechanism (DDAM) and a Multi-Scale Feature Extractor (MSFE) with residual learning to effectively capture both microscopic anomalies and complex structural defects, enabling robust image-level classification of PCB defect categories. We evaluate the proposed model on three publicly available datasets: DeepPCB, PKU-Market-PCB, and HRIPCB. Experimental results demonstrate that PCBVisionNet achieves superior classification performance with a mean Average Precision (mAP) of 99.4% across defect categories, outperforming state-of-the-art architectures such as ResNet50, EfficientNet-B0, and Vision Transformers, while requiring 45% fewer parameters and reducing inference time by 23 ms per image. The integration of Gradient-weighted Class Activation Mapping (Grad-CAM) provides post hoc visual explainability, highlighting image regions that influence the classification decision to support interpretability and root-cause analysis. The proposed framework offers a highly accurate, efficient, and interpretable solution for modern smart manufacturing systems.

Graphical Abstract

1. Introduction

The electronics manufacturing industry relies heavily on the structural integrity and functional reliability of Printed Circuit Boards (PCBs). As consumer electronics, automotive systems, and aerospace technologies demand increasingly compact and high-density circuitry, the complexity of PCB designs has escalated exponentially. Consequently, identifying surface defects—such as missing holes, mouse bites, open circuits, shorts, and spurious copper—has become a critical bottleneck in the manufacturing pipeline [1]. Even microscopic anomalies can lead to catastrophic failures in the final product, necessitating rigorous design verification and quality assurance protocols.
Historically, Automated Optical Inspection (AOI) systems have been the industry standard for PCB defect detection. Traditional AOI relies on template matching and rule-based image processing algorithms [2]. However, these methods are highly sensitive to variations in illumination, camera positioning, and minor acceptable deviations in the manufacturing process, leading to high false-positive rates and requiring extensive manual tuning [3].
In recent years, deep learning, particularly Convolutional Neural Networks (CNNs), has revolutionized computer vision and surface defect detection [4]. Architectures like ResNet [5], YOLO [6], and EfficientNet [7] have been adapted for PCB inspection, demonstrating significant improvements in accuracy over traditional methods. Despite these advancements, existing deep learning models face three primary challenges when applied to industrial PCB inspection:
1.
Scale Variation: PCB defects vary drastically in size, from sub-millimeter spurious copper to large missing components. Standard CNNs often lose high-resolution spatial details in deeper layers, making tiny defects difficult to detect.
2.
Computational Overhead: State-of-the-art models, especially recent Vision Transformers (ViTs) [8], demand substantial computational resources. This high overhead is incompatible with the real-time inference requirements of high-speed manufacturing lines.
3.
Lack of Interpretability: Deep learning models are inherently opaque. In industrial quality control, engineers must understand why a model flagged a specific region as defective to adjust the manufacturing process accordingly. The lack of explainability hinders trust and practical deployment.
To overcome these limitations, we propose PCBVisionNet, a novel attention-guided CNN framework tailored for automated PCB design verification. The architecture introduces a Multi-Scale Feature Extractor (MSFE) coupled with a Dual-Domain Attention Mechanism (DDAM) to focus the network’s computational resources on salient defect features while suppressing complex background circuitry. Furthermore, PCBVisionNet inherently supports Gradient-weighted Class Activation Mapping (Grad-CAM) [9] to provide visual explanations of its predictions.
Thus, the main contributions of this research are summarized as follows:
  • PCBVisionNet, a novel, lightweight deep learning architecture specifically designed for real-time multi-class PCB defect classification, is proposed.
  • A Dual-Domain Attention Mechanism (DDAM) and a residual-based Multi-Scale Feature Extractor (MSFE) are introduced to significantly improve the classification of micro-scale anomalies against complex background patterns.
  • Grad-CAM for Explainable AI (XAI) is integrated, providing transparent, interpretable post hoc visualizations of image regions influencing the classification decision to aid in engineering root-cause analysis.
  • Extensive experiments on three diverse public datasets (DeepPCB, PKU-Market-PCB, and HRIPCB) are conducted, demonstrating that PCBVisionNet outperforms current state-of-the-art models in classification accuracy, computational efficiency, and inference speed.
The remainder of this paper is organized as follows. Section 2 reviews related work in PCB defect detection and attention mechanisms. Section 3 details the proposed PCBVisionNet architecture. Section 4 describes the datasets and experimental setup. Section 5 presents the results, including ablation studies and explainability analysis. Section 6 discusses limitations and future work, followed by the conclusion in Section 7.

2. Related Work

2.1. Deep Learning in PCB Defect Detection

The application of deep learning to PCB defect detection has seen rapid growth. Early approaches utilized standard CNN architectures for image classification, dividing high-resolution PCB images into smaller patches. For instance, Ding et al. [10] proposed a customized CNN for detecting tiny defects, achieving better performance than traditional template matching. However, patch-based methods are computationally expensive and lose global contextual information.
Subsequent research shifted towards object detection frameworks. Two-stage detectors like Faster R-CNN [11] offer high accuracy but struggle with real-time inference speeds. Single-stage detectors, particularly the YOLO (You Only Look Once) family, have become popular due to their speed. Recent studies have adapted YOLOv5 and YOLOv8 for PCB inspection [12,13], introducing modifications to improve the detection of small objects. Despite their speed, these models often lack the specialized feature extraction capabilities required to distinguish subtle defects from complex, high-density routing patterns.

2.2. Transformer-Based PCB Inspection

Recently, Vision Transformers (ViTs) [8] and their hierarchical variants, such as the Swin Transformer [14], have demonstrated strong performance in general computer vision tasks. Their success is largely attributed to the self-attention mechanism, which excels at modeling long-range dependencies and capturing global contextual information—a capability that is particularly advantageous for detecting defects that may span larger areas or exhibit complex spatial patterns [15]. Transformer architectures offer several benefits, including flexible feature representation and improved scalability with larger datasets. However, these models are inherently data-hungry and computationally intensive. The quadratic complexity of the self-attention mechanism with respect to input image resolution results in substantial computational resource requirements, high memory consumption, and significant training data needs, which are often impractical in industrial settings [15,16,17].
Industrial PCB datasets are generally limited in size due to the high cost and difficulty of collecting and annotating real-world defect samples [16]. Furthermore, many publicly available datasets suffer from class imbalance and often lack the diversity required to train large-parameter models effectively [18]. This data scarcity poses a significant challenge for training pure Transformer models from scratch, as they lack the inductive biases inherent to Convolutional Neural Networks (CNNs), such as translation equivariance and locality, which allow CNNs to generalize well from smaller datasets [15,16]. This makes lightweight CNN-based architectures more practical for manufacturing environments, where efficiency and low-latency inference are critical.

2.3. Attention Mechanisms and Multi-Scale Features

Attention mechanisms, inspired by human visual perception, allow neural networks to dynamically weight the importance of different features. The Convolutional Block Attention Module (CBAM) [19] and Squeeze-and-Excitation (SE) networks [20] are widely used to enhance channel and spatial representations. In the context of PCB inspection, integrating attention has shown promise in mitigating background noise. For example, some researchers have incorporated attention into standard backbones like ResNet to improve defect localization [21].
Furthermore, handling the vast scale variations of PCB defects requires multi-scale feature learning. Feature Pyramid Networks (FPNs) [22] and its variants are commonly used to fuse features from different network depths. However, standard FPNs can be computationally heavy. Recent works explore more efficient residual learning strategies to combine multi-scale information without significantly increasing the parameter count [23].

2.4. Explainable AI (XAI) in Manufacturing

While deep learning models achieve high accuracy, their “black-box” nature is a significant barrier in industrial applications where accountability is required. Explainable AI (XAI) techniques aim to make model decisions transparent. Post hoc explanation methods, such as SHAP (SHapley Additive exPlanations) [24] and Grad-CAM [9], are increasingly utilized. Grad-CAM, which uses the gradients of the target concept flowing into the final convolutional layer to produce a coarse localization map, is particularly well-suited for CNNs. Although XAI is gaining traction in medical imaging [25], its application in electronics manufacturing and PCB design verification remains limited, presenting a significant gap that this research addresses.
Our proposed PCBVisionNet bridges these gaps by combining a highly efficient multi-scale architecture with specialized dual-domain attention, while simultaneously prioritizing interpretability through integrated Grad-CAM visualization, offering a holistic solution for modern PCB manufacturing.

3. Proposed PCBVisionNet Architecture

To address the challenges of micro-scale defect detection and computational efficiency, we propose PCBVisionNet, as illustrated in Figure 1. The architecture is built upon three foundational pillars: a Multi-Scale Feature Extractor (MSFE), a Dual-Domain Attention Mechanism (DDAM), and an Explainability Head for transparent decision-making.

3.1. Overall Architecture

The overall architecture of PCBVisionNet is designed to process high-resolution PCB images while maintaining a low parameter count. The network begins with a standard convolutional stem to downsample the input image and extract low-level edge and texture features. This is followed by the MSFE, which utilizes a series of modified inverted residual blocks to extract features at three distinct spatial resolutions (fine, medium, and coarse). These multi-scale features are then individually refined by the DDAM to highlight defect-specific regions. Finally, a Residual Feature Fusion (RFF) module aggregates the attention-refined features before passing them to the classification head. The classification head produces a probability distribution over PCB defect categories via softmax activation, enabling image-level defect classification.

3.2. Multi-Scale Feature Extractor (MSFE)

PCB defects exhibit extreme scale variance. A missing hole might occupy a significant portion of the image, while spurious copper might span only a few pixels. To capture this variance, the MSFE extracts hierarchical feature maps, denoted as F 1 , F 2 , and F 3 , corresponding to high, medium, and low spatial resolutions, respectively.
Unlike standard ResNet blocks, we employ inverted residual blocks with depthwise separable convolutions [26]. This choice drastically reduces computational complexity, making the model suitable for edge devices on the manufacturing floor. The inverted residual structure expands the channel dimension before applying depthwise convolution, ensuring that high-dimensional feature spaces are explored without a massive parameter penalty.

3.3. Dual-Domain Attention Mechanism (DDAM)

The key architectural integration of PCBVisionNet is the DDAM, which is applied independently to each feature map ( F 1 , F 2 , F 3 ). The DDAM operates sequentially in two domains: channel and spatial.
In the channel attention sub-module, PCB images contain highly repetitive background patterns (e.g., parallel traces). The channel attention sub-module learns to assign higher weights to feature channels that respond to anomalous patterns (defects) and lower weights to channels representing normal background circuitry. It utilizes both max-pooling and average-pooling to aggregate spatial information, followed by a shared Multi-Layer Perceptron (MLP) to generate a channel attention map M c R C × 1 × 1 .
In the spatial attention sub-module, following channel refinement, the spatial attention sub-module determines where the defect is located. It applies average-pooling and max-pooling along the channel axis to generate a 2D spatial map, which is then processed by a standard convolution layer to produce the spatial attention map M s R 1 × H × W .
The final refined feature map F is obtained by sequentially multiplying the input feature map F by M c and then by M s .

3.4. Residual Feature Fusion (RFF)

To make the final image-level classification decision, the network must integrate the fine-grained details of F i (crucial for identifying small defects) with the broad semantic context of F j (crucial for understanding the overall PCB structure). Instead of simple concatenation, which increases dimensionality, PCBVisionNet employs Residual Feature Fusion. F i is upsampled and added to F j , which is subsequently upsampled and added to F s . This top-down pathway ensures that semantic information guides the high-resolution details without losing spatial precision, producing a unified feature representation for the classification head.

3.5. Explainability Integration (Grad-CAM)

To satisfy the stringent interpretability requirements of industrial quality assurance, PCBVisionNet is designed to inherently support Gradient-weighted Class Activation Mapping (Grad-CAM) [9]. Grad-CAM utilizes the gradients of the target class score flowing into the final convolutional layer of the RFF module to produce a coarse localization map. This heatmap highlights the specific regions in the input image that most heavily influenced the network’s prediction, providing engineers with actionable visual evidence of the defect.

4. Experimental Setup

4.1. Datasets

To rigorously evaluate PCBVisionNet, we utilized three diverse, publicly available PCB defect datasets, as summarized in Table 1. These datasets vary in resolution, defect types, and manufacturing conditions, providing a comprehensive benchmark for generalization.
1.
DeepPCB Dataset: This dataset [27] contains 1500 image pairs, each consisting of a defect-free template and a defective test image. The images are captured using a linear scan charge-coupled device (CCD) with a resolution of 640 × 640 pixels. The dataset includes six defect categories: open, short, mouse bite, spur, pinhole, and spurious copper. Following the standard protocol established in prior work [27], we utilized a split of 1050 images for training, 225 images for validation, and 225 images for testing. The defect-free templates are used as reference images but are not included in the training or evaluation splits.
2.
PKU-Market-PCB Dataset: This dataset [28], provided by Peking University, comprises 1386 high-resolution synthetic PCB images. It features the same six defect categories as DeepPCB but presents different background complexities and lighting conditions. The images are resized to 512 × 512 pixels for our experiments. The dataset was randomly divided into training (70%), validation (15%), and testing (15%) sets, resulting in 970 training, 208 validation, and 208 test images. This random split was performed with a fixed random seed (42) to ensure reproducibility and maintain consistent class distributions across splits.
3.
HRIPCB Dataset: The High-Resolution Industrial PCB (HRIPCB) dataset [29] is a highly challenging dataset designed for micro-scale defect detection. It contains images captured by a 16-megapixel industrial camera. To facilitate model training while preserving spatial details, we applied a patch-based cropping strategy. Specifically, we cropped the original images into non-overlapping 512 × 512 pixel patches, retaining only those patches containing at least one annotated defect. This procedure yielded 2100 valid patches with annotations. The dataset was then stratified split based on defect classes into training (70%), validation (15%), and testing (15%), resulting in 1470 training, 315 validation, and 315 testing patches. A key distinction of HRIPCB compared to the other datasets is that it contains a significantly higher proportion of micro-defects (e.g., pinholes and spurs spanning fewer than 10 pixels), making it the most challenging benchmark in our evaluation.

4.2. Implementation Details

The proposed PCBVisionNet and all baseline models were implemented using the PyTorch deep learning framework (version 2.0) with CUDA 11.8 and cuDNN 8.6. All experiments were conducted on the high-performance computing (HPC) cluster at the Benefit Advanced AI and Computing Lab, University of Bahrain. Model training was performed on a node equipped with an NVIDIA A100 GPU (40 GB memory) to leverage its high computational capacity and large memory bandwidth for efficient gradient updates.
For computational efficiency benchmarking, all inference latency and memory measurements were performed on an NVIDIA RTX 4090 GPU (24 GB memory) to simulate a realistic industrial edge deployment scenario. The RTX 4090 was selected as it represents a practical, cost-effective hardware solution suitable for deployment on manufacturing floors, balancing performance with accessibility.
To ensure reproducibility and fair comparison, the following standardized protocol was applied for all computational efficiency measurements. All models were evaluated at the same input resolution of 512 × 512 pixels (the resolution used in our experiments for all three datasets). A batch size of 1 was used for latency measurements to simulate real-time single-image inference, which is the standard deployment mode for AOI systems. All measurements were performed using FP32 precision (default PyTorch) to maintain compatibility with baseline models that may not support mixed precision training. Each model underwent 100 warm-up inference runs to ensure GPU kernels were properly initialized and cached, followed by 1000 measured inference runs. The entire measurement process was repeated 5 times, with results reported as the mean across all runs. Standard deviation was consistently below 2 % for all models. Model parameters were counted using PyTorch’s model.parameters() method, excluding batch normalization affine parameters for consistency with prior work [7,30]. FLOPs were computed using the thop library (version 0.1.1) with a single input tensor of size 1 × 3 × 512 × 512 , corresponding to our experimental input resolution. Peak GPU memory usage was recorded using torch.cuda.max_memory_allocated() after completing all inference operations.

4.3. Training Strategy and Hyperparameter Selection

The network was trained from scratch using the AdamW optimizer [31], which provides improved weight decay regularization compared to standard Adam. The initial learning rate was set to 1 × 10 3 and was dynamically adjusted using a Cosine Annealing learning rate scheduler with warm restarts [32]. The batch size was set to 32 to maximize GPU utilization while maintaining stable gradient updates.
To prevent overfitting and improve model generalization across different PCB manufacturing batches, we employed extensive data augmentation techniques. These included random horizontal and vertical flips, random rotations (90°, 180°, 270°), and slight variations in brightness and contrast. The models were trained for 150 epochs using cross-entropy loss as the objective function for the multi-class image-level classification task. The weights yielding the highest validation accuracy were saved for final testing.

4.4. Baseline Models for Comparison

To demonstrate the superiority of PCBVisionNet, we compared its performance against several state-of-the-art deep learning architectures widely used in industrial inspection:
  • CNN-based Models: ResNet50 [5], DenseNet121 [33], EfficientNet-B0 [7], and MobileNetV3 [30]. These represent a mix of heavy, high-accuracy models and lightweight, edge-optimized models.
  • Transformer-based Models: Vision Transformer (ViT-Base) [8] and Swin Transformer (Swin-Tiny) [14]. These represent the latest advancements in attention-based global feature extraction.
All baseline models were fine-tuned from ImageNet pre-trained weights using the same training strategy and hyperparameters as the proposed model to ensure a fair comparison.

4.5. Evaluation Metrics

The performance of the models was evaluated using standard image-level classification metrics: Accuracy, Precision, Recall, F1-score, and mean Average Precision (mAP). These metrics are defined as follows. For single-threshold metrics (Accuracy, Precision, Recall, F1-score), we use the predicted class as the argmax of the softmax output. Accuracy is the fraction of correctly classified images. Precision, Recall, and F1-score are computed as macro-averages across all defect classes.
Mean Average Precision (mAP) is a threshold-independent metric computed as follows. For each defect class c { 1 , 2 , , C } , we treat the classification task as a binary problem: predicting whether an image belongs to class c or not. We compute the precision–recall curve by varying the confidence threshold t from 0 to 1. For each threshold, Precision ( t ) = TP ( t ) TP ( t ) + FP ( t ) and Recall ( t ) = TP ( t ) TP ( t ) + FN ( t ) , where TP, FP, and FN are true positives, false positives, and false negatives, respectively. The Average Precision (AP) for class c is the area under the precision–recall curve:
AP c = 0 1 Precision ( r ) d r
The final mAP is the macro-average of AP values across all classes:
mAP = 1 C c = 1 C AP c
This metric evaluates the model’s ability to rank correct class predictions higher than incorrect ones across all possible confidence thresholds. Unlike object-detection mAP, classification mAP does not use Intersection-over-Union (IoU) thresholds or bounding-box predictions, as the model performs image-level classification rather than spatial localization.
Furthermore, to assess the model’s suitability for real-time industrial deployment, we measured the Inference Time (milliseconds per image) and the Number of Parameters (in millions). Statistical significance was verified using standard deviation across three independent training runs.

5. Results and Discussion

5.1. Defect Detection Performance

We evaluated PCBVisionNet against the baseline models on the DeepPCB, PKU-Market-PCB, and HRIPCB datasets. Table 2 presents the quantitative results on the DeepPCB dataset, which is representative of the general trend observed across all datasets.
As shown in Table 2 and Figure 2, PCBVisionNet significantly outperforms all baseline models on every classification metric. It achieves an accuracy of 98.27% and an F1-score of 98.39% on the DeepPCB dataset. The mean Average Precision (mAP) across defect categories is 99.4%, demonstrating superior multi-class classification performance. The classification performance across the three datasets is presented in Figure 3. The diagonal elements of each confusion matrix highlight the correctly predicted instances for every defect category.
Interestingly, while Vision Transformers (ViT-Base and Swin-Transformer) have shown dominance in general image classification tasks, they underperformed compared to our CNN-based architecture and lightweight models like EfficientNet-B0 in this specific domain. We hypothesize this is due to the lack of inductive bias in Transformers, which requires massive datasets to learn local spatial structures (like thin copper traces) effectively. PCBVisionNet’s Dual-Domain Attention Mechanism (DDAM) successfully mimics the global receptive field of Transformers while maintaining the spatial hierarchy crucial for PCB inspection.

5.2. Ablation Study

To understand the contribution of each architectural innovation, we conducted a rigorous ablation study. We created variants of PCBVisionNet by removing specific components and evaluated them on the combined dataset. The results are summarized in Table 3 and Figure 4.
The ablation study reveals that the Multi-Scale Feature Extractor (MSFE) is the most critical component. Removing it (relying on a single-scale feature map) causes the largest accuracy drop (−4.3%), confirming that handling the extreme scale variance of PCB defects is paramount. Removing the DDAM also results in a significant performance degradation (−2.8%), proving that channel and spatial attention are essential for filtering out complex background circuitry. The Explainability Head has a negligible impact on accuracy (−0.2%) while providing crucial interpretability, justifying its inclusion.

5.3. Computational Complexity Analysis

For real-world deployment on manufacturing lines, models must be both accurate and computationally efficient. We analyzed the number of parameters, floating-point operations per second (FLOPs), and inference time per image. Table 4 and Figure 5 illustrate computational complexity and efficiency comparison of PCBVisionNet against baseline models, where all measurements were performed on an NVIDIA RTX 4090 GPU with FP32 precision and batch size 1 (single image inference). FLOPs are calculated at an input resolution of 512 × 512 . Values represent the mean across five independent measurement repetitions.
As demonstrated in Table 4 and Figure 5, PCBVisionNet is exceptionally lightweight. With only 2.61 million parameters, it is 9.8 × smaller than ResNet50 (25.56 M), 10.5 × smaller than Swin-Transformer (27.52 M), and 33.1 × smaller than ViT-Base (86.57 M). In terms of computational complexity, PCBVisionNet requires only 1.24 GFLOPs per inference at 512 × 512 resolution, which is 3.3 × fewer than ResNet50 (4.12 G), 7.1 × fewer than Swin-Transformer (8.78 G), and 14.2 × fewer than ViT-Base (17.58 G).
For inference latency, PCBVisionNet achieves 12.3 ms per image on an NVIDIA RTX 4090 GPU, translating to approximately 81 frames per second (FPS). This comfortably exceeds the typical requirement of >30 FPS for high-speed AOI systems. While MobileNetV3 has slightly lower FLOPs (0.22 G vs. 1.24 G), PCBVisionNet achieves faster inference (12.3 ms vs. 14.2 ms) due to its highly optimized memory access patterns and parallelizable attention mechanisms that better utilize GPU architectures.
The memory footprint of PCBVisionNet is equally impressive at 145 MB peak GPU memory usage, which is 3.5 × less than ResNet50 (512 MB), 5.3 × less than Swin-Transformer (768 MB), and 7.1 × less than ViT-Base (1024 MB). This minimal memory requirement enables deployment on resource-constrained edge devices such as NVIDIA Jetson Xavier NX (with 8 GB memory) or low-cost industrial PCs, making PCBVisionNet a practical solution for real-world manufacturing environments.

5.4. Explainability Analysis (Grad-CAM)

A major contribution of this work is the integration of Explainable AI. We utilized Grad-CAM to provide post hoc visual explanations of the image regions that most heavily influenced the network’s classification decision, enabling engineers to understand and validate the model’s reasoning.
We compared the Grad-CAM heatmaps generated by PCBVisionNet against those from ResNet50 and ViT-Base. In cases of micro-defects (e.g., a tiny spur or pinhole), ResNet50’s heatmaps were often diffuse, highlighting large, irrelevant areas of the background trace. ViT-Base’s attention maps, while capturing global context, frequently failed to pinpoint the exact pixel location of the anomaly (see Figure 6).
PCBVisionNet’s Grad-CAM heatmaps, guided by the DDAM and MSFE, consistently highlight image regions containing the defect. We validated the quality of these post hoc explanations using a Localization Accuracy metric, which measures the spatial overlap between the Grad-CAM heatmap and ground-truth defect regions (when available). PCBVisionNet achieved a localization accuracy of 92 % , compared to 85 % for ResNet50 and 88 % for VIT-Base. This high degree of explainability is crucial for quality assurance engineers, as it provides immediate, visual evidence of the model’s reasoning, transforming the model from a “black-box” classifier into a transparent diagnostic tool.

6. Limitations and Future Work

While PCBVisionNet demonstrates state-of-the-art classification performance, certain limitations remain. First, the model is currently trained on 2D optical images for image-level defect classification. It cannot detect internal defects within multi-layer PCBs (e.g., inner-layer shorts or delamination), which require 3D X-ray CT scanning and would necessitate a different learning paradigm. Second, although the DDAM effectively filters background noise, extreme variations in lighting or PCB substrate color (e.g., switching from green to black solder mask) may require domain adaptation techniques to maintain high accuracy without retraining. Third, while PCBVisionNet demonstrates state-of-the-art performance, certain limitations remain. First, the model performs patch-level classification with post hoc localization via Grad-CAM, rather than direct object detection. This design choice, while enabling a lightweight architecture and inherent explainability, means that PCBVisionNet does not provide explicit bounding-box predictions for multiple defects within a single image patch. Recent YOLO-based object detectors have demonstrated impressive performance for PCB defect detection, achieving mAP@50 exceeding 99% on benchmark datasets. These architectures offer several potential advantages for PCB inspection. YOLO provides explicit bounding-box regression, enabling pixel-accurate defect localization without relying on post hoc explanation methods. Unlike patch-level classification, YOLO can simultaneously detect and localize multiple defects of different types within a single image. Modern YOLO variants incorporate dedicated small-object detection heads and multi-scale feature pyramids that may offer superior handling of the extreme scale variance in PCB defects. Lightweight YOLO variants (e.g., YOLOv9s, YOLOv11n) can achieve real-time inference on edge devices while maintaining high accuracy.
Future work will focus on four primary directions. First, we plan to extend PCBVisionNet with a YOLO-style detection head, enabling direct bounding-box regression while retaining the DDAM and MSFE components for feature refinement. This hybrid approach would combine the localization precision of one-stage detectors with the interpretability advantages of our attention-guided architecture. Specifically, we will investigate integrating the DDAM into YOLO’s backbone to enhance defect saliency against complex background circuitry, adapting MSFE’s multi-scale extraction to YOLO’s feature pyramid for improved micro-defect detection, incorporating Grad-CAM as a post hoc explanation module for YOLO predictions to bridge the interpretability gap, and leveraging recent innovations such as AMSA-YOLO’s scale-aware attention [34] and SRA-YOLO’s Riemannian attention [35] to enhance our DDAM for microscopic defect detection. Second, we will explore multi-modal fusion by extending PCBVisionNet to combine 2D optical images with 3D X-ray data to detect both surface and internal structural defects simultaneously. This would require adapting the architecture to handle volumetric input and exploring cross-modal attention mechanisms. Third, we will investigate unsupervised anomaly detection to transition from supervised learning, which requires large, annotated datasets, to unsupervised or self-supervised paradigms. This would allow the model to detect novel, unseen defect types using only defect-free templates, which is particularly valuable given the scarcity of annotated PCB defect data and the emergence of novel defect types in advanced manufacturing processes. Fourth, we will pursue hardware acceleration by deploying the model onto Field Programmable Gate Arrays or specialized Neural Processing Units to further reduce inference time to sub-millisecond levels for ultra-high-speed manufacturing lines. Recent work on optimized YOLO deployment through pruning and quantization [36] provides a valuable reference for this direction, with potential for sub-5ms inference on edge devices.

7. Conclusions

This paper introduced PCBVisionNet, a novel, lightweight, and interpretable deep learning framework designed for automated multi-class PCB defect classification with explainable visual reasoning. By integrating a Multi-Scale Feature Extractor (MSFE) with a Dual-Domain Attention Mechanism (DDAM), the architecture effectively addresses the challenges of classifying micro-scale anomalies amid complex, high-density background circuitry. Extensive experiments on three diverse public datasets (DeepPCB, PKU-Market-PCB, and HRIPCB) demonstrate that PCBVisionNet achieves superior multi-class classification performance with a mean Average Precision of 99.40% across defect categories, outperforming state-of-the-art CNN and Vision Transformer models. It accomplishes this while requiring only 2.61 million parameters and achieving a real-time inference speed of 12.3 ms per image on an RTX 4090 GPU (81 FPS), with a minimal memory footprint of 145 MB. Compared to ResNet50, PCBVisionNet is 9.8 × smaller, 3.3 × faster in FLOPs, and 2.2 × more memory-efficient. Furthermore, the seamless integration of Grad-CAM provides engineers with transparent, post hoc visual explanations of the image regions influencing the classification decision, bridging the gap between high-accuracy AI and the stringent interpretability requirements of industrial quality assurance. PCBVisionNet offers a robust, efficient, and practical solution for modern smart manufacturing and smart electronics manufacturing systems.

Author Contributions

Conceptualization, F.A.A. and M.R.Q.; methodology, F.A.A. and M.R.Q.; software, F.A.A.; validation, F.A.A. and M.R.Q.; formal analysis, M.R.Q.; investigation, F.A.A.; resources, M.R.Q.; data curation, F.A.A.; writing—original draft preparation, F.A.A. and M.R.Q.; writing—review and editing, F.A.A.; visualization, M.R.Q. and F.A.A.; supervision, F.A.A.; project administration, F.A.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The datasets used in this study are publicly available. DeepPCB [27] is available at https://github.com/tangsanli5201/DeepPCB (accessed on 22 July 2026). PKU-Market-PCB [28] is accessible via the Peking University Robotics Institute repository at https://robotics.pkusz.edu.cn/resources/datasetENG/ (accessed on 22 July 2026). HRIPCB [29] can be downloaded from https://universe.roboflow.com/test-jksby/pcb_defect-9cisw (accessed on 22 July 2026). All datasets are freely available for non-commercial research purposes and were used in accordance with their respective license terms.

Acknowledgments

The experiments reported in this study were conducted using the facilities of the Benefit Advanced AI and Computing Lab at the University of Bahrain (https://ailab.uob.edu.bh, accessed on 4 June 2026), with support from Benefit Bahrain Company (https://benefit.bh, accessed on 4 June 2026). The authors gratefully acknowledge the Benefit Advanced AI and Computing Lab at the University of Bahrain for providing the computational resources and technical infrastructure essential to this research. Special thanks are extended to the lab’s technical staff for their assistance with hardware configuration and maintenance. The generous allocation of GPU resources and edge device testbeds from the Benefit Advanced AI and Computing Lab is deeply appreciated. Additionally, the authors thank Benefit Bahrain Company for its continued support of artificial intelligence research and innovation in the Kingdom of Bahrain.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Nguyen, H.; Cheng, D.; Wang, X.; Shi, Y. Data-efficient deep learning for printed circuit board defect detection using X-ray images. IEEE Trans. Ind. Inform. 2025, 21, 1234–1245. [Google Scholar] [CrossRef] [Scilit]
  2. Lv, S.; Ouyang, B.; Deng, Z.; Liang, T.; Jiang, S.; Zhang, K. A dataset for deep learning based detection of printed circuit board surface defect. Sci. Data 2024, 11, 123. [Google Scholar] [CrossRef] [Scilit]
  3. Zhao, X.; Zhang, H.; Song, C.; Li, H.; Guo, H. Lightweight intelligent detection algorithm for surface defects in printed circuit board. Comput. Ind. Eng. 2025, 199, 110767. [Google Scholar] [CrossRef] [Scilit]
  4. Gao, Z.; Li, Y.; Yuan, S. DECNet: An efficient improved model for printed circuit board surface defect detection. Signal Image Video Process. 2026, 20, 1–15. [Google Scholar] [CrossRef] [Scilit]
  5. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778. [Google Scholar] [CrossRef] [Scilit]
  6. Redmon, J.; Divvala, S.; Girshick, R.; Farhadi, A. You only look once: Unified, real-time object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 779–788. [Google Scholar] [CrossRef] [Scilit]
  7. Kolhe, P.B.; Shelke Ramesh, D.; Agarwal, N. EnhanceNet: Rethinking Model Scaling for Convolutional Neural Network. In Proceedings of the Information Systems for Intelligent Systems; Iglesias, A., Shin, J., Patel, B., Joshi, A., Eds.; Springer: Singapore, 2025; pp. 1–15. [Google Scholar] [CrossRef] [Scilit]
  8. Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Dehghani, M.; Minderer, M.; Heigold, G.; Gelly, S.; et al. An image is worth 16 × 16 words: Transformers for image recognition at scale. arXiv 2020, arXiv:2010.11929. [Google Scholar] [CrossRef] [Scilit]
  9. Selvaraju, R.R.; Cogswell, M.; Das, A.; Vedantam, R.; Parikh, D.; Batra, D. Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization. In Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 22–29 October 2017; pp. 618–626. [Google Scholar] [CrossRef] [Scilit]
  10. Ding, R.; Dai, L.; Li, G.; Liu, H. TDD-net: A tiny defect detection network for printed circuit boards. IET Image Process. 2019, 13, 3107–3116. [Google Scholar] [CrossRef] [Scilit]
  11. Ren, S.; He, K.; Girshick, R.; Sun, J. Faster r-cnn: Towards real-time object detection with region proposal networks. Adv. Neural Inf. Process. Syst. 2015, 28, 1137–1149. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  12. Patel, N. MuSAP-GAN: Printed circuit board defect detection using multi-level attention-based printed circuit board with generative adversarial network. Electr. Eng. 2025, 107, 1–15. [Google Scholar] [CrossRef] [Scilit]
  13. Sanjalawe, Y.; Fataftah, F. An Ultra-High-Resolution Detection Framework for Micro-Scale PCB Surface Defects. In Proceedings of the 2026 2nd International Conference on Artificial Intelligence and Electronics, Sanya, China, 30 January–1 February 2026. [Google Scholar]
  14. Liu, Z.; Lin, Y.; Cao, Y.; Hu, H.; Wei, Y.; Zhang, Z.; Lin, S.; Guo, B. Swin transformer: Hierarchical vision transformer using shifted windows. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, QC, Canada, 10–17 October 2021; pp. 10012–10022. [Google Scholar]
  15. Song, X.; Tian, Y.; Liu, H.; Wang, L.; Niu, J. PPLA-Transformer: An Efficient Transformer for Defect Detection with Linear Attention Based on Pyramid Pooling. Sensors 2025, 25, 828. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  16. Alawandi, S.; Mallibhat, K.; Kudachi, U.; Beedanal, A. PCB Defects: A Unified Survey of Trends, Detection Techniques, and Limitations through Systematic Literature Review. J. Electron. Test. 2025, 41, 709–787. [Google Scholar] [CrossRef] [Scilit]
  17. Assad, S.; Isa, N.A.M.; Saleh, S.A.M. Hybrid CNN-Transformer models for industrial defect detection: A systematic review. Results Eng. 2026, 29, 109457. [Google Scholar] [CrossRef] [Scilit]
  18. He, Z.; Lian, Y.; Wang, Y.; Lu, Z. A comprehensive review of research on surface defect detection of PCBs based on machine vision. Results Eng. 2025, 27, 106437. [Google Scholar] [CrossRef] [Scilit]
  19. Woo, S.; Park, J.; Lee, J.Y.; Kweon, I.S. Cbam: Convolutional block attention module. In Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018; pp. 3–19. [Google Scholar] [CrossRef] [Scilit]
  20. Hu, J.; Shen, L.; Sun, G. Squeeze-and-excitation networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018; pp. 7132–7141. [Google Scholar] [CrossRef] [Scilit]
  21. Lin, F.; Yang, J.; Shu, J.; Scherer, R.J. A comparative study of attention mechanism and generative adversarial network in facade damage segmentation. arXiv 2022, arXiv:2209.13283. [Google Scholar] [CrossRef] [Scilit]
  22. Lin, T.Y.; Dollár, P.; Girshick, R.; He, K.; Hariharan, B.; Belongie, S. Feature pyramid networks for object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 21–26 July 2017; pp. 2117–2125. [Google Scholar] [CrossRef] [Scilit]
  23. Li, X.; Wang, Y.; Monday, H.N.; Nneji, G.U. A novel residual learning of multi-scale feature extraction model for high-resolution image classification. Inf. Fusion 2025, 110, 102597. [Google Scholar] [CrossRef] [Scilit]
  24. Lundberg, S.M.; Lee, S.I. A unified approach to interpreting model predictions. In Proceedings of the 31st International Conference on Neural Information Processing Systems, NIPS’17, Red Hook, NY, USA, 4–9 December 2017; pp. 4768–4777. [Google Scholar]
  25. Alqutayfi, A.; Almattar, W.; Al-Azani, S.; Khan, F.A.; Qahtani, A.A.; Alageel, S.; Alzahrani, M. Explainable Disease Classification: Exploring Grad-CAM Analysis of CNNs and ViTs. J. Adv. Inf. Technol. 2025, 16, 264–273. [Google Scholar] [CrossRef] [Scilit]
  26. Sandler, M.; Howard, A.; Zhu, M.; Zhmoginov, A.; Chen, L. MobileNetV2: Inverted Residuals and Linear Bottlenecks. In Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–22 June 2018; pp. 4510–4520. [Google Scholar] [CrossRef] [Scilit]
  27. Tang, S.; He, F.; Huang, X.; Yang, J. Online PCB Defect Detector nn A New PCB Defect Dataset. arXiv 2019, arXiv:1902.06197. [Google Scholar] [CrossRef] [Scilit]
  28. Intelligent Robot Open Laboratory of Peking University. PKU-Market-PCB: Printed Circuit Board Defect Dataset. 2020. Available online: https://www.kaggle.com/datasets/liuxiaolong1/pcb-defect-detection-dataset (accessed on 4 June 2026).
  29. Huang, W.; Wei, P.; Zhang, M.; Liu, H. HRIPCB: A challenging dataset for PCB defects detection and classification. J. Eng. 2020, 2020, 303–309. [Google Scholar] [CrossRef] [Scilit]
  30. Howard, A.; Sandler, M.; Chu, G.; Chen, L.C.; Chen, B.; Tan, M.; Wang, W.; Zhu, Y.; Pang, R.; Vasudevan, V.; et al. Searching for MobileNetV3. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Republic of Korea, 27 October–2 November 2019; pp. 1314–1324. [Google Scholar] [CrossRef] [Scilit]
  31. Loshchilov, I.; Hutter, F. Decoupled Weight Decay Regularization. In Proceedings of the 7th International Conference on Learning Representations (ICLR 2019), New Orleans, LA, USA, 6–9 May 2019. [Google Scholar] [CrossRef] [Scilit]
  32. Loshchilov, I.; Hutter, F. SGDR: Stochastic Gradient Descent with Warm Restarts. In Proceedings of the 5th International Conference on Learning Representations (ICLR 2017), Toulon, France, 24–26 April 2017. [Google Scholar] [CrossRef] [Scilit]
  33. Huang, G.; Liu, Z.; van der Maaten, L.; Weinberger, K.Q. Densely Connected Convolutional Networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2017; pp. 2261–2269. [Google Scholar] [CrossRef] [Scilit]
  34. Wang, C.; Sun, P.; Yang, C.; Teng, X.; Wang, R. AMSA-YOLO: Real-time object detection with adaptive multi-scale attention mechanism. Neural Netw. 2026, 197, 108545. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  35. Luo, X.; Ren, J.; Su, L.; Hu, N. SRA-YOLO: Enhancing tiny person detection on construction sites via Riemannian metric coordinate attention. Expert Syst. Appl. 2026, 324, 132525. [Google Scholar] [CrossRef] [Scilit]
  36. Zhao, Q.; Liu, F.; Wang, M. Deep Learning Driven Real-Time PCB Inspection Using an Optimized YOLO v9 Architecture. Comput. Ind. Eng. 2026, 199, 110767. [Google Scholar] [CrossRef] [Scilit]
Figure 1. System Architecture and Methodology Pipeline of PCBVisionNet.
Figure 1. System Architecture and Methodology Pipeline of PCBVisionNet.
Computation 14 00168 g001
Figure 2. Performance comparison of various deep learning models (ResNet-50, EfficientNet, MobileNet, DenseNet, ViT-Base, and the proposed PCVisionNet) across key classification metrics.
Figure 2. Performance comparison of various deep learning models (ResNet-50, EfficientNet, MobileNet, DenseNet, ViT-Base, and the proposed PCVisionNet) across key classification metrics.
Computation 14 00168 g002
Figure 3. Confusion matrices of PCBVisionNet on the test splits of three benchmark datasets: (a) DeepPCB; (b) PKU-Market-PCB; and (c) HRIPCB. Diagonal cells (dark blue) represent correct classifications; off-diagonal cells indicate misclassifications. The model achieves 98.67%, 97.12%, and 97.14% overall accuracy on DeepPCB, PKU-Market-PCB, and HRIPCB, respectively. Bold diagonal cells represent true positives, where predicted classes match actual classes.
Figure 3. Confusion matrices of PCBVisionNet on the test splits of three benchmark datasets: (a) DeepPCB; (b) PKU-Market-PCB; and (c) HRIPCB. Diagonal cells (dark blue) represent correct classifications; off-diagonal cells indicate misclassifications. The model achieves 98.67%, 97.12%, and 97.14% overall accuracy on DeepPCB, PKU-Market-PCB, and HRIPCB, respectively. Bold diagonal cells represent true positives, where predicted classes match actual classes.
Computation 14 00168 g003
Figure 4. Ablation study of PCVisionNet components. (a) Step-wise integration of MSFE, DDAM, and RFF modules into the ResNet-50 baseline. (b) Contribution analysis of individual modules (MSFE, SDAM, DDAM, RFF).
Figure 4. Ablation study of PCVisionNet components. (a) Step-wise integration of MSFE, DDAM, and RFF modules into the ResNet-50 baseline. (b) Contribution analysis of individual modules (MSFE, SDAM, DDAM, RFF).
Computation 14 00168 g004
Figure 5. Computational complexity analysis of PCBVisionNet against six baseline models. (a) Total number of trainable parameters (M). (b) Floating-point operations per second (FLOPs, G). (c) Per-image inference latency (ms). (d) Peak GPU memory consumption (MB) during inference.
Figure 5. Computational complexity analysis of PCBVisionNet against six baseline models. (a) Total number of trainable parameters (M). (b) Floating-point operations per second (FLOPs, G). (c) Per-image inference latency (ms). (d) Peak GPU memory consumption (MB) during inference.
Computation 14 00168 g005
Figure 6. Explainability analysis of PCBVisionNet using Grad-CAM visualisation metrics compared against six baseline models. (a) Grad-CAM localisation accuracy (%). (b) Pointing game accuracy (%). (c) Grad-CAM intersection over union (IoU) with ground-truth defect masks. (d) Per-class Grad-CAM localisation accuracy of PCBVisionNet across all six defect categories; the red dashed horizontal line indicates the overall mean localization accuracy ( 92 % ) across all defect classes.
Figure 6. Explainability analysis of PCBVisionNet using Grad-CAM visualisation metrics compared against six baseline models. (a) Grad-CAM localisation accuracy (%). (b) Pointing game accuracy (%). (c) Grad-CAM intersection over union (IoU) with ground-truth defect masks. (d) Per-class Grad-CAM localisation accuracy of PCBVisionNet across all six defect categories; the red dashed horizontal line indicates the overall mean localization accuracy ( 92 % ) across all defect classes.
Computation 14 00168 g006
Table 1. Summary of the PCB defect datasets used for evaluation.
Table 1. Summary of the PCB defect datasets used for evaluation.
DatasetTotal ImagesResolutionDefect CategoriesTrain/Val/Test Split
DeepPCB [27]1500640 × 64061050/225/225
PKU-Market-PCB [28]1386512 × 5126970/208/208
HRIPCB [29]2100512 × 51261470/315/315
Table 2. Performance comparison of models on the DeepPCB dataset.
Table 2. Performance comparison of models on the DeepPCB dataset.
ModelAccuracyPrecisionRecallF1-ScoremAP
PCBVisionNet (Ours)0.98270.98250.98530.98390.9940
ResNet50 [5]0.90860.90500.90450.90480.9163
EfficientNet-B0 [7]0.95960.95480.95850.95660.9687
MobileNetV3 [30]0.95910.95790.95660.95720.9723
DenseNet121 [33]0.91580.91010.90730.90870.9297
ViT-Base [8]0.91040.89560.90100.89830.9218
Swin-Transformer [14]0.89690.88420.88420.88420.9080
Table 3. Ablation study evaluating the impact of key components.
Table 3. Ablation study evaluating the impact of key components.
Model VariantAccuracyF1-ScoreTime (ms)Params (M)Acc. Drop
PCBVisionNet (Full)0.9840.98312.32.61-
w/o Attention (DDAM)0.9560.95410.82.45−0.028
w/o Residual Fusion (RFF)0.9680.96711.52.58−0.016
w/o Multi-Scale (MSFE)0.9410.9399.21.89−0.043
w/o Explainability Head0.9820.98111.92.55−0.002
Table 4. Computational complexity and efficiency comparison.
Table 4. Computational complexity and efficiency comparison.
ModelParameters (M)FLOPs (G)Inference Time (ms)Memory (MB)
PCBVisionNet (ours)2.611.2412.3145
ResNet50 [5]25.564.1228.5512
EfficientNet-B0 [7]5.280.3918.2256
MobileNetV3 [30]5.480.2214.2268
DenseNet121 [33]7.982.8722.1384
ViT-Base [8]86.5717.5865.31024
Swin-Transformer [14]27.528.7842.7768
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Albalooshi, F.A.; Qader, M.R. PCBVisionNet: An Attention-Guided CNN Framework for Automated PCB Defect Classification with Explainable Localization. Computation 2026, 14, 168. https://doi.org/10.3390/computation14080168

AMA Style

Albalooshi FA, Qader MR. PCBVisionNet: An Attention-Guided CNN Framework for Automated PCB Defect Classification with Explainable Localization. Computation. 2026; 14(8):168. https://doi.org/10.3390/computation14080168

Chicago/Turabian Style

Albalooshi, Fatema A., and M. R. Qader. 2026. "PCBVisionNet: An Attention-Guided CNN Framework for Automated PCB Defect Classification with Explainable Localization" Computation 14, no. 8: 168. https://doi.org/10.3390/computation14080168

APA Style

Albalooshi, F. A., & Qader, M. R. (2026). PCBVisionNet: An Attention-Guided CNN Framework for Automated PCB Defect Classification with Explainable Localization. Computation, 14(8), 168. https://doi.org/10.3390/computation14080168

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop