Cargando…
Lightweight individual cow identification based on Ghost combined with attention mechanism
Individual cow identification is a prerequisite for intelligent dairy farming management, and is important for achieving accurate and informative dairy farming. Computer vision-based approaches are widely considered because of their non-contact and practical advantages. In this study, a method based...
Autores principales: | , , , , , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Public Library of Science
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9536640/ https://www.ncbi.nlm.nih.gov/pubmed/36201486 http://dx.doi.org/10.1371/journal.pone.0275435 |
_version_ | 1784803025162862592 |
---|---|
author | Fu, Lili Li, Shijun Kong, Shuolin Ni, Ruiwen Pang, Haohong Sun, Yu Hu, Tianli Mu, Ye Guo, Ying Gong, He |
author_facet | Fu, Lili Li, Shijun Kong, Shuolin Ni, Ruiwen Pang, Haohong Sun, Yu Hu, Tianli Mu, Ye Guo, Ying Gong, He |
author_sort | Fu, Lili |
collection | PubMed |
description | Individual cow identification is a prerequisite for intelligent dairy farming management, and is important for achieving accurate and informative dairy farming. Computer vision-based approaches are widely considered because of their non-contact and practical advantages. In this study, a method based on the combination of Ghost and attention mechanism is proposed to improve ReNet50 to achieve non-contact individual recognition of cows. In the model, coarse-grained features of cows are extracted using a large sensory field of cavity convolution, while reducing the number of model parameters to some extent. ResNet50 consists of two Bottlenecks with different structures, and a plug-and-play Ghost module is inserted between the two Bottlenecks to reduce the number of parameters and computation of the model using common linear operations without reducing the feature map. In addition, the convolutional block attention module (CBAM) is introduced after each stage of the model to help the model to give different weights to each part of the input and extract the more critical and important information. In our experiments, a total of 13 cows’ side view images were collected to train the model, and the final recognition accuracy of the model was 98.58%, which was 4.8 percentage points better than the recognition accuracy of the original ResNet50, the number of model parameters was reduced by 24.85 times, and the model size was only 3.61 MB. In addition, to verify the validity of the model, it is compared with other networks and the results show that our model has good robustness. This research overcomes the shortcomings of traditional recognition methods that require human extraction of features, and provides theoretical references for further animal recognition. |
format | Online Article Text |
id | pubmed-9536640 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Public Library of Science |
record_format | MEDLINE/PubMed |
spelling | pubmed-95366402022-10-07 Lightweight individual cow identification based on Ghost combined with attention mechanism Fu, Lili Li, Shijun Kong, Shuolin Ni, Ruiwen Pang, Haohong Sun, Yu Hu, Tianli Mu, Ye Guo, Ying Gong, He PLoS One Research Article Individual cow identification is a prerequisite for intelligent dairy farming management, and is important for achieving accurate and informative dairy farming. Computer vision-based approaches are widely considered because of their non-contact and practical advantages. In this study, a method based on the combination of Ghost and attention mechanism is proposed to improve ReNet50 to achieve non-contact individual recognition of cows. In the model, coarse-grained features of cows are extracted using a large sensory field of cavity convolution, while reducing the number of model parameters to some extent. ResNet50 consists of two Bottlenecks with different structures, and a plug-and-play Ghost module is inserted between the two Bottlenecks to reduce the number of parameters and computation of the model using common linear operations without reducing the feature map. In addition, the convolutional block attention module (CBAM) is introduced after each stage of the model to help the model to give different weights to each part of the input and extract the more critical and important information. In our experiments, a total of 13 cows’ side view images were collected to train the model, and the final recognition accuracy of the model was 98.58%, which was 4.8 percentage points better than the recognition accuracy of the original ResNet50, the number of model parameters was reduced by 24.85 times, and the model size was only 3.61 MB. In addition, to verify the validity of the model, it is compared with other networks and the results show that our model has good robustness. This research overcomes the shortcomings of traditional recognition methods that require human extraction of features, and provides theoretical references for further animal recognition. Public Library of Science 2022-10-06 /pmc/articles/PMC9536640/ /pubmed/36201486 http://dx.doi.org/10.1371/journal.pone.0275435 Text en © 2022 Fu et al https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. |
spellingShingle | Research Article Fu, Lili Li, Shijun Kong, Shuolin Ni, Ruiwen Pang, Haohong Sun, Yu Hu, Tianli Mu, Ye Guo, Ying Gong, He Lightweight individual cow identification based on Ghost combined with attention mechanism |
title | Lightweight individual cow identification based on Ghost combined with attention mechanism |
title_full | Lightweight individual cow identification based on Ghost combined with attention mechanism |
title_fullStr | Lightweight individual cow identification based on Ghost combined with attention mechanism |
title_full_unstemmed | Lightweight individual cow identification based on Ghost combined with attention mechanism |
title_short | Lightweight individual cow identification based on Ghost combined with attention mechanism |
title_sort | lightweight individual cow identification based on ghost combined with attention mechanism |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9536640/ https://www.ncbi.nlm.nih.gov/pubmed/36201486 http://dx.doi.org/10.1371/journal.pone.0275435 |
work_keys_str_mv | AT fulili lightweightindividualcowidentificationbasedonghostcombinedwithattentionmechanism AT lishijun lightweightindividualcowidentificationbasedonghostcombinedwithattentionmechanism AT kongshuolin lightweightindividualcowidentificationbasedonghostcombinedwithattentionmechanism AT niruiwen lightweightindividualcowidentificationbasedonghostcombinedwithattentionmechanism AT panghaohong lightweightindividualcowidentificationbasedonghostcombinedwithattentionmechanism AT sunyu lightweightindividualcowidentificationbasedonghostcombinedwithattentionmechanism AT hutianli lightweightindividualcowidentificationbasedonghostcombinedwithattentionmechanism AT muye lightweightindividualcowidentificationbasedonghostcombinedwithattentionmechanism AT guoying lightweightindividualcowidentificationbasedonghostcombinedwithattentionmechanism AT gonghe lightweightindividualcowidentificationbasedonghostcombinedwithattentionmechanism |