• Laser & Optoelectronics Progress
  • Vol. 58, Issue 16, 1628002 (2021)
Yongxin Xing, Biqiao Wu, Songping Wu, and Tianyi Wang*
Author Affiliations
  • College of Big Data and Information Engineering, Guizhou University, Guiyang 550025, Guizhou, China
  • show less
    DOI: 10.3788/LOP202158.1628002 Cite this Article Set citation alerts
    Yongxin Xing, Biqiao Wu, Songping Wu, Tianyi Wang. Individual Cow Recognition Based on Convolution Neural Network and Transfer Learning[J]. Laser & Optoelectronics Progress, 2021, 58(16): 1628002 Copy Citation Text show less
    SSD network structure
    Fig. 1. SSD network structure
    Improvement of SSD network structure
    Fig. 2. Improvement of SSD network structure
    Different fusion methods
    Fig. 3. Different fusion methods
    Transfer learning process
    Fig. 4. Transfer learning process
    Cow labeling pictures
    Fig. 5. Cow labeling pictures
    P-R curves of different algorithms
    Fig. 6. P-R curves of different algorithms
    Detection effect of improved SSD algorithm and SSD algorithm. (a) Improved SSD algorithm; (b) SSD algorithm
    Fig. 7. Detection effect of improved SSD algorithm and SSD algorithm. (a) Improved SSD algorithm; (b) SSD algorithm
    Loss curves of improved SSD algorithms under different training methods on training set
    Fig. 8. Loss curves of improved SSD algorithms under different training methods on training set
    P-R curves of SSD algorithm with different training methods
    Fig. 9. P-R curves of SSD algorithm with different training methods
    P-R curves of improved SSD algorithm with different training methods
    Fig. 10. P-R curves of improved SSD algorithm with different training methods
    Detection effect of SSD algorithm with different training methods. (a) Transfer learning trains only the classification layer; (b) new study; (c) transfer learning trains all layers
    Fig. 11. Detection effect of SSD algorithm with different training methods. (a) Transfer learning trains only the classification layer; (b) new study; (c) transfer learning trains all layers
    Detection effect of improved SSD algorithm under different training methods. (a) Transfer learning trains all layers; (b) new study; (c) transfer learning trains only classification layer
    Fig. 12. Detection effect of improved SSD algorithm under different training methods. (a) Transfer learning trains all layers; (b) new study; (c) transfer learning trains only classification layer
    Feature mapM×NKAspect rationNumber of candidate frames
    Conv4_338×3841,25776
    FC719×1961,2,32166
    Conv8_210×1061,2,3600
    Conv9_25×561,2,3150
    Conv10_23×341,236
    Conv11_21×141,24
    Table 1. Candidate box parameter setting of SSD algorithm
    Upper sampling layerNumber of output channelsKernel_sizeStridePadding
    concatadd
    Conv11_225625633Same
    Conv10_225625631Valid
    Conv9_251251232Same
    Conv8_25121024101Valid
    Table 2. Parameter setting of upper sampling layer under different fusion modes
    Feature mapM×NKAspect_rationNumber of candidate framesTotal number of candidate frames
    FC719×1981,2,3,428883948
    Conv8_210×1081,2,3,4800
    Conv9_25×581,2,3,4200
    Conv10_23×361,2,354
    Conv11_21×161,2,36
    Table 3. Parameter setting of candidate frame of improved SSD algorithm
    Experimental algorithmFeature fusionFusion methodPAP /%Average detection time /ms
    SSD88.2346.23
    SSDAdd88.1151.52
    SSDConcat90.5854.04
    Table 4. Experimental results on test sets of different fusion methods
    Experimental algorithmNTP/NFP/NFNP /%R /%PAP /%Average detection time /ms
    SSD454/12/6097.4288.3288.2346.23
    Improved SSD476/7/3898.5592.6092.5554.16
    Table 5. Experimental results of SSD algorithm and improved SSD algorithm on test set
    Experimental algorithmTraining methodNTP/NFP/NFNP /%R /%PAP /%
    SSDNew training454/12/6097.4288.3288.23
    SSDTransfer learning only trains classification layer368/3/14699.1971.5971.56
    SSDTransfer all levels of learning and training477/8/3798.3592.8092.69
    Improved SSDNew training476/7/3898.5592.6092.55
    Improved SSDTransfer learning only trains classification layer388/11/12697.2475.4875.24
    Improved SSDTransfer all levels of learning and training496/7/1898.6096.4996.40
    Table 6. Experimental results of different training methods on test set
    Algorithm20% of the training set50% of the training set80% of the training setAll training set
    SSD87.2492.9493.1392.69
    ImprovedSSD91.7395.1095.6696.40
    Table 7. Influence of training set size of target domain on recognition accuracy after transfer learning
    AlgorithmPAP /%Average detection time /ms
    SSD88.2346.23
    YOLOV285.2620.49
    YOLOV390.8053.24
    Method in Ref. [13]85.4619.64
    Method in Ref. [14]93.2155.01
    Method in this paper96.4054.16
    Table 8. Average accuracy of different algorithms
    Yongxin Xing, Biqiao Wu, Songping Wu, Tianyi Wang. Individual Cow Recognition Based on Convolution Neural Network and Transfer Learning[J]. Laser & Optoelectronics Progress, 2021, 58(16): 1628002
    Download Citation