A sheep dynamic counting scheme based on the fusion between an improved-sparrow-search YOLOv5x-ECA model and few-shot deepsort algorithm

被引:21
作者
Cao, Yuanyang [1 ]
Chen, Jian [1 ]
Zhang, Zichao [1 ,2 ,3 ,4 ,5 ,6 ]
机构
[1] China Agr Univ, Coll Engn, Beijing 100083, Peoples R China
[2] Minist Agr & Rural Affairs, Key Lab Smart Agr Technol Trop South China, Guangzhou 510642, Peoples R China
[3] Minist Nat Resources, Key Lab Urban Land Resources Monitoring & Simulat, Shenzhen 518000, Peoples R China
[4] MNR, Key Lab Spatial temporal Big Data Anal & Applicat, Shanghai 200063, Peoples R China
[5] Beihang Univ, State Key Lab Virtual Real Technol & Syst, Beijing 100191, Peoples R China
[6] Jiangsu Univ, Jiangsu Prov & Educ Minist Cosponsored Synergist I, Ctr Modern Agr Equipment, Zhenjiang 212013, Peoples R China
基金
中国国家自然科学基金;
关键词
YOLOv5x; DeepSort Algorithm; Sparrow Search Algorithm; Attention Mechanism; Sheep Dynamic Counting;
D O I
10.1016/j.compag.2023.107696
中图分类号
S [农业科学];
学科分类号
09 ;
摘要
In order to improve the accuracy of sheep counting and avoid the interference of mutual occlusion caused by different moving speed among sheep, the concept of fusion between the improved YOLOv5x model based on the attention mechanism and DeepSort algorithm is proposed. First, the ECA structure that is channel attention mechanism is used to optimize YOLOv5x model to strengthen the ability of capturing global information. Secondly, the sparrow search algorithm based on elite opposition-based learning strategy is used to optimize the learning rate of the detection model, so as to get the weight information of the optimal group to further improve the recognition rate of sheep. In the experiment, 800 high-resolution sheep images augmented by SRGAN network and data augmentation are used as model datasets, and the best weight information obtained by the YOLOv5x-ECA-SSA* model is used to accurately recognize sheep. According to the DeepSort algorithm, the recognized sheep are tracked, predicted and matched optimally. The experimental results show that the test precision of YOLOv5x*, YOLOv5x-ECA* and YOLOv5x-ECA-SSA* based on the SRGAN and data enhancement to train are respectively 95.74%, 96.50% and 97.10%. The error rate of each model combined with DeepSort algorithm to complete sheep dynamic counting is respectively 13%, 12% and 5%. Among them, the YOLOv5x-ECASSA* model has the highest mAP and best effect of sheep counting. The result can provide a new theorical method for realizing intelligent dynamic counting and tracking in the grazing process and provide a new technical application for intelligent animal husbandry.
引用
收藏
页数:17
相关论文
共 33 条
  • [11] Optical image reconstruction using frequency-domain data: Simulations and experiments
    Jiang, HB
    Paulsen, KD
    Osterberg, UL
    Pogue, BW
    Patterson, MS
    [J]. JOURNAL OF THE OPTICAL SOCIETY OF AMERICA A-OPTICS IMAGE SCIENCE AND VISION, 1996, 13 (02) : 253 - 266
  • [12] WheatNet: A lightweight convolutional neural network for high-throughput image-based wheat head detection and counting
    Khaki, Saeed
    Safaei, Nima
    Pham, Hieu
    Wang, Lizhi
    [J]. NEUROCOMPUTING, 2022, 489 : 78 - 89
  • [13] Kim Y, 2018, INTRO IMPLEMENTATION, V1, P1, DOI [DOI 10.5772/INTECHOPEN.80600, 10.5772/INTECHOPEN.80600]
  • [14] Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network
    Ledig, Christian
    Theis, Lucas
    Huszar, Ferenc
    Caballero, Jose
    Cunningham, Andrew
    Acosta, Alejandro
    Aitken, Andrew
    Tejani, Alykhan
    Totz, Johannes
    Wang, Zehan
    Shi, Wenzhe
    [J]. 30TH IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2017), 2017, : 105 - 114
  • [15] Li Q., 2020, CHINESE TEST, V46, P5
  • [16] [梁习卉子 Liang Xihuizi], 2020, [农业工程学报, Transactions of the Chinese Society of Agricultural Engineering], V36, P173
  • [17] Liu Tianqi, 2022, 2022 14th International Conference on Advanced Computational Intelligence (ICACI), P320, DOI 10.1109/ICACI55529.2022.9837636
  • [18] Lu MingZhou Lu MingZhou, 2012, Scientia Agricultura Sinica, V45, P2939
  • [19] Ear density estimation from high resolution RGB imagery using deep learning technique
    Madec, Simon
    Jin, Xiuliang
    Lu, Hao
    De Solan, Benoit
    Liu, Shouyang
    Duyme, Florent
    Heritier, Emmanuelle
    Baret, Frederic
    [J]. AGRICULTURAL AND FOREST METEOROLOGY, 2019, 264 : 225 - 234
  • [20] Development of an Automated Pain Facial Expression Detection System for Sheep (Ovis Aries)
    McLennan, Krista
    Mahmoud, Marwa
    [J]. ANIMALS, 2019, 9 (04):