Cargando…

Posture Detection of Individual Pigs Based on Lightweight Convolution Neural Networks and Efficient Channel-Wise Attention

In this paper, a lightweight channel-wise attention model is proposed for the real-time detection of five representative pig postures: standing, lying on the belly, lying on the side, sitting, and mounting. An optimized compressed block with symmetrical structure is proposed based on model structure...

Descripción completa

Detalles Bibliográficos
Autores principales: Luo, Yizhi, Zeng, Zhixiong, Lu, Huazhong, Lv, Enli
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8705977/
https://www.ncbi.nlm.nih.gov/pubmed/34960477
http://dx.doi.org/10.3390/s21248369
_version_ 1784622079355650048
author Luo, Yizhi
Zeng, Zhixiong
Lu, Huazhong
Lv, Enli
author_facet Luo, Yizhi
Zeng, Zhixiong
Lu, Huazhong
Lv, Enli
author_sort Luo, Yizhi
collection PubMed
description In this paper, a lightweight channel-wise attention model is proposed for the real-time detection of five representative pig postures: standing, lying on the belly, lying on the side, sitting, and mounting. An optimized compressed block with symmetrical structure is proposed based on model structure and parameter statistics, and the efficient channel attention modules are considered as a channel-wise mechanism to improve the model architecture.The results show that the algorithm’s average precision in detecting standing, lying on the belly, lying on the side, sitting, and mounting is 97.7%, 95.2%, 95.7%, 87.5%, and 84.1%, respectively, and the speed of inference is around 63 ms (CPU = i7, RAM = 8G) per postures image. Compared with state-of-the-art models (ResNet50, Darknet53, CSPDarknet53, MobileNetV3-Large, and MobileNetV3-Small), the proposed model has fewer model parameters and lower computation complexity. The statistical results of the postures (with continuous 24 h monitoring) show that some pigs will eat in the early morning, and the peak of the pig’s feeding appears after the input of new feed, which reflects the health of the pig herd for farmers.
format Online
Article
Text
id pubmed-8705977
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-87059772021-12-25 Posture Detection of Individual Pigs Based on Lightweight Convolution Neural Networks and Efficient Channel-Wise Attention Luo, Yizhi Zeng, Zhixiong Lu, Huazhong Lv, Enli Sensors (Basel) Article In this paper, a lightweight channel-wise attention model is proposed for the real-time detection of five representative pig postures: standing, lying on the belly, lying on the side, sitting, and mounting. An optimized compressed block with symmetrical structure is proposed based on model structure and parameter statistics, and the efficient channel attention modules are considered as a channel-wise mechanism to improve the model architecture.The results show that the algorithm’s average precision in detecting standing, lying on the belly, lying on the side, sitting, and mounting is 97.7%, 95.2%, 95.7%, 87.5%, and 84.1%, respectively, and the speed of inference is around 63 ms (CPU = i7, RAM = 8G) per postures image. Compared with state-of-the-art models (ResNet50, Darknet53, CSPDarknet53, MobileNetV3-Large, and MobileNetV3-Small), the proposed model has fewer model parameters and lower computation complexity. The statistical results of the postures (with continuous 24 h monitoring) show that some pigs will eat in the early morning, and the peak of the pig’s feeding appears after the input of new feed, which reflects the health of the pig herd for farmers. MDPI 2021-12-15 /pmc/articles/PMC8705977/ /pubmed/34960477 http://dx.doi.org/10.3390/s21248369 Text en © 2021 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Luo, Yizhi
Zeng, Zhixiong
Lu, Huazhong
Lv, Enli
Posture Detection of Individual Pigs Based on Lightweight Convolution Neural Networks and Efficient Channel-Wise Attention
title Posture Detection of Individual Pigs Based on Lightweight Convolution Neural Networks and Efficient Channel-Wise Attention
title_full Posture Detection of Individual Pigs Based on Lightweight Convolution Neural Networks and Efficient Channel-Wise Attention
title_fullStr Posture Detection of Individual Pigs Based on Lightweight Convolution Neural Networks and Efficient Channel-Wise Attention
title_full_unstemmed Posture Detection of Individual Pigs Based on Lightweight Convolution Neural Networks and Efficient Channel-Wise Attention
title_short Posture Detection of Individual Pigs Based on Lightweight Convolution Neural Networks and Efficient Channel-Wise Attention
title_sort posture detection of individual pigs based on lightweight convolution neural networks and efficient channel-wise attention
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8705977/
https://www.ncbi.nlm.nih.gov/pubmed/34960477
http://dx.doi.org/10.3390/s21248369
work_keys_str_mv AT luoyizhi posturedetectionofindividualpigsbasedonlightweightconvolutionneuralnetworksandefficientchannelwiseattention
AT zengzhixiong posturedetectionofindividualpigsbasedonlightweightconvolutionneuralnetworksandefficientchannelwiseattention
AT luhuazhong posturedetectionofindividualpigsbasedonlightweightconvolutionneuralnetworksandefficientchannelwiseattention
AT lvenli posturedetectionofindividualpigsbasedonlightweightconvolutionneuralnetworksandefficientchannelwiseattention