Laser & Optoelectronics Progress, Volume. 58, Issue 16, 1628002(2021)

Individual Cow Recognition Based on Convolution Neural Network and Transfer Learning

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
    Figures & Tables(20)
    SSD network structure
    Improvement of SSD network structure
    Different fusion methods
    Transfer learning process
    Cow labeling pictures
    P-R curves of different algorithms
    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
    P-R curves of SSD algorithm with different training methods
    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
    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
    • Table 1. Candidate box parameter setting of SSD algorithm

      View table

      Table 1. Candidate box parameter setting of SSD algorithm

      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 2. Parameter setting of upper sampling layer under different fusion modes

      View table

      Table 2. Parameter setting of upper sampling layer under different fusion modes

      Upper sampling layerNumber of output channelsKernel_sizeStridePadding
      concatadd
      Conv11_225625633Same
      Conv10_225625631Valid
      Conv9_251251232Same
      Conv8_25121024101Valid
    • Table 3. Parameter setting of candidate frame of improved SSD algorithm

      View table

      Table 3. Parameter setting of candidate frame of improved SSD algorithm

      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 4. Experimental results on test sets of different fusion methods

      View table

      Table 4. Experimental results on test sets of different fusion methods

      Experimental algorithmFeature fusionFusion methodPAP /%Average detection time /ms
      SSD88.2346.23
      SSDAdd88.1151.52
      SSDConcat90.5854.04
    • Table 5. Experimental results of SSD algorithm and improved SSD algorithm on test set

      View table

      Table 5. Experimental results of SSD algorithm and improved SSD algorithm on test set

      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 6. Experimental results of different training methods on test set

      View table

      Table 6. Experimental results of different training methods 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 7. Influence of training set size of target domain on recognition accuracy after transfer learning

      View table

      Table 7. Influence of training set size of target domain on recognition accuracy after transfer learning

      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 8. Average accuracy of different algorithms

      View table

      Table 8. Average accuracy of different algorithms

      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
    Tools

    Get Citation

    Copy Citation Text

    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

    EndNote(RIS)BibTexPlain Text
    Save article for my favorites
    Paper Information

    Category: Remote Sensing and Sensors

    Received: Sep. 30, 2020

    Accepted: Dec. 8, 2020

    Published Online: Aug. 20, 2021

    The Author Email: Wang Tianyi (tywang@gzu.edu.cn)

    DOI:10.3788/LOP202158.1628002

    Topics