Table 4. The experiment results with YOLOv3 and YOLOv4.

Class Count YOLOv3 YOLOv4 (with data augmentation) YOLOv4 (without data augmentation)
Pass Fail Accuracy Pass Fail Accuracy Pass Fail Accuracy
C-CHIP 2900 2873 27 99.06% 2898 2 99.93% 2898 4 99.86%
R-CHIP 1610 1606 4 99.75% 1610 0 100% 1610 0 100%
TRANSISTOR 7491 7491 0 100% 7491 0 100% 7491 0 100%
COIL 410 410 0 100% 410 0 100% 410 0 100%
DIODE 1130 1125 5 99.55% 1130 0 100% 1106 24 97.87%
LED 1599 1599 0 100% 1599 0 100% 1599 0 100%
CAPACITOR 1126 1126 0 100% 1126 0 100% 1126 0 100%
L-CHIP 173 173 0 100% 173 0 100% 173 0 100%
IC 3178 3178 0 100% 3178 0 100% 3178 0 100%
TOTAL 19581 36 99.81% 19615 2 99.99% 19589 28 99.85%