Cargando…

Individual dairy cow identification based on lightweight convolutional neural network

In actual farms, individual livestock identification technology relies on large models with slow recognition speeds, which seriously restricts its practical application. In this study, we use deep learning to recognize the features of individual cows. Alexnet is used as a skeleton network for a ligh...

Descripción completa

Detalles Bibliográficos
Autores principales: Li, Shijun, Fu, Lili, Sun, Yu, Mu, Ye, Chen, Lin, Li, Ji, Gong, He
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Public Library of Science 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8629223/
https://www.ncbi.nlm.nih.gov/pubmed/34843562
http://dx.doi.org/10.1371/journal.pone.0260510
_version_ 1784607158899310592
author Li, Shijun
Fu, Lili
Sun, Yu
Mu, Ye
Chen, Lin
Li, Ji
Gong, He
author_facet Li, Shijun
Fu, Lili
Sun, Yu
Mu, Ye
Chen, Lin
Li, Ji
Gong, He
author_sort Li, Shijun
collection PubMed
description In actual farms, individual livestock identification technology relies on large models with slow recognition speeds, which seriously restricts its practical application. In this study, we use deep learning to recognize the features of individual cows. Alexnet is used as a skeleton network for a lightweight convolutional neural network that can recognise individual cows in images with complex backgrounds. The model is improved for multiple multiscale convolutions of Alexnet using the short-circuit connected BasicBlock to fit the desired values and avoid gradient disappearance or explosion. An improved inception module and attention mechanism are added to extract features at multiple scales to enhance the detection of feature points. In experiments, side-view images of 13 cows were collected. The proposed method achieved 97.95% accuracy in cow identification with a single training time of only 6 s, which is one-sixth that of the original Alexnet. To verify the validity of the model, the dataset and experimental parameters were kept constant and compared with the results of Vgg16, Resnet50, Mobilnet V2 and GoogLenet. The proposed model ensured high accuracy while having the smallest parameter size of 6.51 MB, which is 1.3 times less than that of the Mobilnet V2 network, which is famous for its light weight. This method overcomes the defects of traditional methods, which require artificial extraction of features, are often not robust enough, have slow recognition speeds, and require large numbers of parameters in the recognition model. The proposed method works with images with complex backgrounds, making it suitable for actual farming environments. It also provides a reference for the identification of individual cows in images with complex backgrounds.
format Online
Article
Text
id pubmed-8629223
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher Public Library of Science
record_format MEDLINE/PubMed
spelling pubmed-86292232021-11-30 Individual dairy cow identification based on lightweight convolutional neural network Li, Shijun Fu, Lili Sun, Yu Mu, Ye Chen, Lin Li, Ji Gong, He PLoS One Research Article In actual farms, individual livestock identification technology relies on large models with slow recognition speeds, which seriously restricts its practical application. In this study, we use deep learning to recognize the features of individual cows. Alexnet is used as a skeleton network for a lightweight convolutional neural network that can recognise individual cows in images with complex backgrounds. The model is improved for multiple multiscale convolutions of Alexnet using the short-circuit connected BasicBlock to fit the desired values and avoid gradient disappearance or explosion. An improved inception module and attention mechanism are added to extract features at multiple scales to enhance the detection of feature points. In experiments, side-view images of 13 cows were collected. The proposed method achieved 97.95% accuracy in cow identification with a single training time of only 6 s, which is one-sixth that of the original Alexnet. To verify the validity of the model, the dataset and experimental parameters were kept constant and compared with the results of Vgg16, Resnet50, Mobilnet V2 and GoogLenet. The proposed model ensured high accuracy while having the smallest parameter size of 6.51 MB, which is 1.3 times less than that of the Mobilnet V2 network, which is famous for its light weight. This method overcomes the defects of traditional methods, which require artificial extraction of features, are often not robust enough, have slow recognition speeds, and require large numbers of parameters in the recognition model. The proposed method works with images with complex backgrounds, making it suitable for actual farming environments. It also provides a reference for the identification of individual cows in images with complex backgrounds. Public Library of Science 2021-11-29 /pmc/articles/PMC8629223/ /pubmed/34843562 http://dx.doi.org/10.1371/journal.pone.0260510 Text en © 2021 Li 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
Li, Shijun
Fu, Lili
Sun, Yu
Mu, Ye
Chen, Lin
Li, Ji
Gong, He
Individual dairy cow identification based on lightweight convolutional neural network
title Individual dairy cow identification based on lightweight convolutional neural network
title_full Individual dairy cow identification based on lightweight convolutional neural network
title_fullStr Individual dairy cow identification based on lightweight convolutional neural network
title_full_unstemmed Individual dairy cow identification based on lightweight convolutional neural network
title_short Individual dairy cow identification based on lightweight convolutional neural network
title_sort individual dairy cow identification based on lightweight convolutional neural network
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8629223/
https://www.ncbi.nlm.nih.gov/pubmed/34843562
http://dx.doi.org/10.1371/journal.pone.0260510
work_keys_str_mv AT lishijun individualdairycowidentificationbasedonlightweightconvolutionalneuralnetwork
AT fulili individualdairycowidentificationbasedonlightweightconvolutionalneuralnetwork
AT sunyu individualdairycowidentificationbasedonlightweightconvolutionalneuralnetwork
AT muye individualdairycowidentificationbasedonlightweightconvolutionalneuralnetwork
AT chenlin individualdairycowidentificationbasedonlightweightconvolutionalneuralnetwork
AT liji individualdairycowidentificationbasedonlightweightconvolutionalneuralnetwork
AT gonghe individualdairycowidentificationbasedonlightweightconvolutionalneuralnetwork