Research Article

Conditional TransGAN-Based Data Augmentation for PCB Electronic Component Inspection

Table 3

Experimental results (mAP) on the DeepPCB dataset.

ModelsSettingsOpenShortMousebiteSpurCopperPin-holemAP

Faster R-CNN ResNet101w/o augmentation94.895.798.598.898.999.597.7
W/IPAug95.696.398.298.798.899.497.8
w/TransGAN95.496.197.998.499.199.697.8
w/CGAN96.297.698.298.398.999.598.1
w/cTransGAN98.198.399.298.999.199.298.8

YOLOV3 DarkNetw/o augmentation91.292.494.892.396.493.293.4
W/IPAug92.493.294.692.596.893.793.9
w/TransGAN92.893.694.992.497.194.594.2
w/cGAN93.593.594.792.697.894.194.4
w/cTransGAN95.295.696.194.398.197.296.1

SCNet ResNet101w/o augmentation93.693.896.296.997.599.296.2
W/IPAug94.595.298.197.397.999.197.1
w/TransGAN94.795.997.696.997.999.297.0
w/CGAN95.196.498.497.297.899.397.4
w/cTransGAN97.596.998.998.198.499.398.2

SOTA [33]w/max pooling98.598.599.198.298.599.498.7

Table 3 gives the metrics for the best models trained by the Faster R-CNN ResNet101, YOLOV3 DarkNet, and SCNet ResNet101 models using different enhancements on the two dataset tasks, respectively, where the metrics include the AP value and the mean AP value (mAP) for each subtarget. The range of AP values is from 0% to 100%, with higher values demonstrating better detection of the target. As can be seen in Tables 3, the detection results using cTransGAN are almost always optimal.