• Laser & Optoelectronics Progress
  • Vol. 59, Issue 16, 1610002 (2022)
Song Cheng, Jintao Dai, Honggang Yang, and Yunxia Chen*
Author Affiliations
  • School of Mechanical Engineering, Shanghai Dianji University, Shanghai 201306
  • show less
    DOI: 10.3788/LOP202259.1610002 Cite this Article Set citation alerts
    Song Cheng, Jintao Dai, Honggang Yang, Yunxia Chen. Weld Image Detection and Recognition Based on Improved YOLOv4[J]. Laser & Optoelectronics Progress, 2022, 59(16): 1610002 Copy Citation Text show less
    Mish activation function
    Fig. 1. Mish activation function
    Network framework diagram of improved YOLOv4
    Fig. 2. Network framework diagram of improved YOLOv4
    Loss function comparison curve
    Fig. 3. Loss function comparison curve
    AP and mAP of YOLOv4
    Fig. 4. AP and mAP of YOLOv4
    AP and mAP of YOLOv4-cs
    Fig. 5. AP and mAP of YOLOv4-cs
    Missed detection rate of different models
    Fig. 6. Missed detection rate of different models
    Prediction results of different models. (a) YOLOv4-cs; (b) YOLOv4
    Fig. 7. Prediction results of different models. (a) YOLOv4-cs; (b) YOLOv4
    AlgorithmPoreSlag inclusionIncomplete penetrationDetection speed /(frame·s-1
    Precision /%Recall /%Precision /%Recall /%Precision /%Recall /%
    YOLOv4-cs9574.4396.5284.7484.267.5924.47
    YOLOv497.1356.2395.675.4787.0253.4220.43
    YOLOv396.5866.2798.0980.9594.7848.4125
    YOLOv4-Tiny92.2960.2793.1870.4285.0520.484.7
    SSD96.1844.597.1961.8999.950.1134.1
    Table 1. Test results of different algorithms
    ModelPore F1Slag inclusion F1Incomplete penetration F1
    YOLOv4-cs0.830.90.75
    YOLOv40.710.840.66
    YOLOv30.790.890.64
    YOLOv4-Tiny0.730.80.33
    SSD0.610.760.002
    Table 2. Comparison of F1 values of different models
    ModelPore AP /%Slag inclusion AP /%Incomplete penetration AP /%mAP /%
    YOLOv4-cs91958088.52
    YOLOv487927985.85
    YOLOv388957686.59
    YOLOv4-Tiny74834467.02
    SSD82904171.06
    Table 3. Comparison of AP and mAP values in different models
    Song Cheng, Jintao Dai, Honggang Yang, Yunxia Chen. Weld Image Detection and Recognition Based on Improved YOLOv4[J]. Laser & Optoelectronics Progress, 2022, 59(16): 1610002
    Download Citation