Cargando…

A lightweight cow mounting behavior recognition system based on improved YOLOv5s

To improve the detection speed of cow mounting behavior and the lightness of the model in dense scenes, this study proposes a lightweight rapid detection system for cow mounting behavior. Using the concept of EfficientNetV2, a lightweight backbone network is designed using an attention mechanism, in...

Descripción completa

Detalles Bibliográficos
Autores principales: Wang, Rong, Gao, Ronghua, Li, Qifeng, Zhao, Chunjiang, Ma, Weihong, Yu, Ligen, Ding, Luyu
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Nature Publishing Group UK 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10576040/
https://www.ncbi.nlm.nih.gov/pubmed/37833320
http://dx.doi.org/10.1038/s41598-023-40757-7
_version_ 1785121039505686528
author Wang, Rong
Gao, Ronghua
Li, Qifeng
Zhao, Chunjiang
Ma, Weihong
Yu, Ligen
Ding, Luyu
author_facet Wang, Rong
Gao, Ronghua
Li, Qifeng
Zhao, Chunjiang
Ma, Weihong
Yu, Ligen
Ding, Luyu
author_sort Wang, Rong
collection PubMed
description To improve the detection speed of cow mounting behavior and the lightness of the model in dense scenes, this study proposes a lightweight rapid detection system for cow mounting behavior. Using the concept of EfficientNetV2, a lightweight backbone network is designed using an attention mechanism, inverted residual structure, and depth-wise separable convolution. Next, a feature enhancement module is designed using residual structure, efficient attention mechanism, and Ghost convolution. Finally, YOLOv5s, the lightweight backbone network, and the feature enhancement module are combined to construct a lightweight rapid recognition model for cow mounting behavior. Multiple cameras were installed in a barn with 200 cows to obtain 3343 images that formed the cow mounting behavior dataset. Based on the experimental results, the inference speed of the model put forward in this study is as high as 333.3 fps, the inference time per image is 4.1 ms, and the model mAP value is 87.7%. The mAP value of the proposed model is shown to be 2.1% higher than that of YOLOv5s, the inference speed is 0.47 times greater than that of YOLOv5s, and the model weight is 2.34 times less than that of YOLOv5s. According to the obtained results, the model proposed in the current work shows high accuracy and inference speed and acquires the automatic detection of cow mounting behavior in dense scenes, which would be beneficial for the all-weather real-time monitoring of multi-channel cameras in large cattle farms.
format Online
Article
Text
id pubmed-10576040
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Nature Publishing Group UK
record_format MEDLINE/PubMed
spelling pubmed-105760402023-10-15 A lightweight cow mounting behavior recognition system based on improved YOLOv5s Wang, Rong Gao, Ronghua Li, Qifeng Zhao, Chunjiang Ma, Weihong Yu, Ligen Ding, Luyu Sci Rep Article To improve the detection speed of cow mounting behavior and the lightness of the model in dense scenes, this study proposes a lightweight rapid detection system for cow mounting behavior. Using the concept of EfficientNetV2, a lightweight backbone network is designed using an attention mechanism, inverted residual structure, and depth-wise separable convolution. Next, a feature enhancement module is designed using residual structure, efficient attention mechanism, and Ghost convolution. Finally, YOLOv5s, the lightweight backbone network, and the feature enhancement module are combined to construct a lightweight rapid recognition model for cow mounting behavior. Multiple cameras were installed in a barn with 200 cows to obtain 3343 images that formed the cow mounting behavior dataset. Based on the experimental results, the inference speed of the model put forward in this study is as high as 333.3 fps, the inference time per image is 4.1 ms, and the model mAP value is 87.7%. The mAP value of the proposed model is shown to be 2.1% higher than that of YOLOv5s, the inference speed is 0.47 times greater than that of YOLOv5s, and the model weight is 2.34 times less than that of YOLOv5s. According to the obtained results, the model proposed in the current work shows high accuracy and inference speed and acquires the automatic detection of cow mounting behavior in dense scenes, which would be beneficial for the all-weather real-time monitoring of multi-channel cameras in large cattle farms. Nature Publishing Group UK 2023-10-13 /pmc/articles/PMC10576040/ /pubmed/37833320 http://dx.doi.org/10.1038/s41598-023-40757-7 Text en © The Author(s) 2023 https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) .
spellingShingle Article
Wang, Rong
Gao, Ronghua
Li, Qifeng
Zhao, Chunjiang
Ma, Weihong
Yu, Ligen
Ding, Luyu
A lightweight cow mounting behavior recognition system based on improved YOLOv5s
title A lightweight cow mounting behavior recognition system based on improved YOLOv5s
title_full A lightweight cow mounting behavior recognition system based on improved YOLOv5s
title_fullStr A lightweight cow mounting behavior recognition system based on improved YOLOv5s
title_full_unstemmed A lightweight cow mounting behavior recognition system based on improved YOLOv5s
title_short A lightweight cow mounting behavior recognition system based on improved YOLOv5s
title_sort lightweight cow mounting behavior recognition system based on improved yolov5s
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10576040/
https://www.ncbi.nlm.nih.gov/pubmed/37833320
http://dx.doi.org/10.1038/s41598-023-40757-7
work_keys_str_mv AT wangrong alightweightcowmountingbehaviorrecognitionsystembasedonimprovedyolov5s
AT gaoronghua alightweightcowmountingbehaviorrecognitionsystembasedonimprovedyolov5s
AT liqifeng alightweightcowmountingbehaviorrecognitionsystembasedonimprovedyolov5s
AT zhaochunjiang alightweightcowmountingbehaviorrecognitionsystembasedonimprovedyolov5s
AT maweihong alightweightcowmountingbehaviorrecognitionsystembasedonimprovedyolov5s
AT yuligen alightweightcowmountingbehaviorrecognitionsystembasedonimprovedyolov5s
AT dingluyu alightweightcowmountingbehaviorrecognitionsystembasedonimprovedyolov5s
AT wangrong lightweightcowmountingbehaviorrecognitionsystembasedonimprovedyolov5s
AT gaoronghua lightweightcowmountingbehaviorrecognitionsystembasedonimprovedyolov5s
AT liqifeng lightweightcowmountingbehaviorrecognitionsystembasedonimprovedyolov5s
AT zhaochunjiang lightweightcowmountingbehaviorrecognitionsystembasedonimprovedyolov5s
AT maweihong lightweightcowmountingbehaviorrecognitionsystembasedonimprovedyolov5s
AT yuligen lightweightcowmountingbehaviorrecognitionsystembasedonimprovedyolov5s
AT dingluyu lightweightcowmountingbehaviorrecognitionsystembasedonimprovedyolov5s