Cargando…

YOLOv5-SA-FC: A Novel Pig Detection and Counting Method Based on Shuffle Attention and Focal Complete Intersection over Union

SIMPLE SUMMARY: We propose a new model, YOLOv5-SA-FC, for efficient pig population detection and counting in intelligent breeding. Traditional manual methods are slow and inaccurate. Our model incorporates shuffle attention (SA) and Focal-CIoU (FC) for an improved performance. SA enhances feature ex...

Descripción completa

Detalles Bibliográficos
Autores principales: Hao, Wangli, Zhang, Li, Han, Meng, Zhang, Kai, Li, Fuzhong, Yang, Guoqiang, Liu, Zhenyu
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10603737/
https://www.ncbi.nlm.nih.gov/pubmed/37893925
http://dx.doi.org/10.3390/ani13203201
_version_ 1785126669786284032
author Hao, Wangli
Zhang, Li
Han, Meng
Zhang, Kai
Li, Fuzhong
Yang, Guoqiang
Liu, Zhenyu
author_facet Hao, Wangli
Zhang, Li
Han, Meng
Zhang, Kai
Li, Fuzhong
Yang, Guoqiang
Liu, Zhenyu
author_sort Hao, Wangli
collection PubMed
description SIMPLE SUMMARY: We propose a new model, YOLOv5-SA-FC, for efficient pig population detection and counting in intelligent breeding. Traditional manual methods are slow and inaccurate. Our model incorporates shuffle attention (SA) and Focal-CIoU (FC) for an improved performance. SA enhances feature extraction without adding parameters, and FC reduces the sample imbalance impact. Our experiments show that YOLOv5-SA-FC achieves a 93.8% mean average precision (mAP) and 95.6% count accuracy, outperforming other methods by 10.2% and 15.8% in pig detection and counting. This validates its effectiveness in intelligent pig breeding. ABSTRACT: The efficient detection and counting of pig populations is critical for the promotion of intelligent breeding. Traditional methods for pig detection and counting mainly rely on manual labor, which is either time-consuming and inefficient or lacks sufficient detection accuracy. To address these issues, a novel model for pig detection and counting based on YOLOv5 enhanced with shuffle attention (SA) and Focal-CIoU (FC) is proposed in this paper, which we call YOLOv5-SA-FC. The SA attention module in this model enables multi-channel information fusion with almost no additional parameters, enhancing the richness and robustness of feature extraction. Furthermore, the Focal-CIoU localization loss helps to reduce the impact of sample imbalance on the detection results, improving the overall performance of the model. From the experimental results, the proposed YOLOv5-SA-FC model achieved a mean average precision (mAP) and count accuracy of 93.8% and 95.6%, outperforming other methods in terms of pig detection and counting by 10.2% and 15.8%, respectively. These findings verify the effectiveness of the proposed YOLOv5-SA-FC model for pig population detection and counting in the context of intelligent pig breeding.
format Online
Article
Text
id pubmed-10603737
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-106037372023-10-28 YOLOv5-SA-FC: A Novel Pig Detection and Counting Method Based on Shuffle Attention and Focal Complete Intersection over Union Hao, Wangli Zhang, Li Han, Meng Zhang, Kai Li, Fuzhong Yang, Guoqiang Liu, Zhenyu Animals (Basel) Article SIMPLE SUMMARY: We propose a new model, YOLOv5-SA-FC, for efficient pig population detection and counting in intelligent breeding. Traditional manual methods are slow and inaccurate. Our model incorporates shuffle attention (SA) and Focal-CIoU (FC) for an improved performance. SA enhances feature extraction without adding parameters, and FC reduces the sample imbalance impact. Our experiments show that YOLOv5-SA-FC achieves a 93.8% mean average precision (mAP) and 95.6% count accuracy, outperforming other methods by 10.2% and 15.8% in pig detection and counting. This validates its effectiveness in intelligent pig breeding. ABSTRACT: The efficient detection and counting of pig populations is critical for the promotion of intelligent breeding. Traditional methods for pig detection and counting mainly rely on manual labor, which is either time-consuming and inefficient or lacks sufficient detection accuracy. To address these issues, a novel model for pig detection and counting based on YOLOv5 enhanced with shuffle attention (SA) and Focal-CIoU (FC) is proposed in this paper, which we call YOLOv5-SA-FC. The SA attention module in this model enables multi-channel information fusion with almost no additional parameters, enhancing the richness and robustness of feature extraction. Furthermore, the Focal-CIoU localization loss helps to reduce the impact of sample imbalance on the detection results, improving the overall performance of the model. From the experimental results, the proposed YOLOv5-SA-FC model achieved a mean average precision (mAP) and count accuracy of 93.8% and 95.6%, outperforming other methods in terms of pig detection and counting by 10.2% and 15.8%, respectively. These findings verify the effectiveness of the proposed YOLOv5-SA-FC model for pig population detection and counting in the context of intelligent pig breeding. MDPI 2023-10-13 /pmc/articles/PMC10603737/ /pubmed/37893925 http://dx.doi.org/10.3390/ani13203201 Text en © 2023 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
Hao, Wangli
Zhang, Li
Han, Meng
Zhang, Kai
Li, Fuzhong
Yang, Guoqiang
Liu, Zhenyu
YOLOv5-SA-FC: A Novel Pig Detection and Counting Method Based on Shuffle Attention and Focal Complete Intersection over Union
title YOLOv5-SA-FC: A Novel Pig Detection and Counting Method Based on Shuffle Attention and Focal Complete Intersection over Union
title_full YOLOv5-SA-FC: A Novel Pig Detection and Counting Method Based on Shuffle Attention and Focal Complete Intersection over Union
title_fullStr YOLOv5-SA-FC: A Novel Pig Detection and Counting Method Based on Shuffle Attention and Focal Complete Intersection over Union
title_full_unstemmed YOLOv5-SA-FC: A Novel Pig Detection and Counting Method Based on Shuffle Attention and Focal Complete Intersection over Union
title_short YOLOv5-SA-FC: A Novel Pig Detection and Counting Method Based on Shuffle Attention and Focal Complete Intersection over Union
title_sort yolov5-sa-fc: a novel pig detection and counting method based on shuffle attention and focal complete intersection over union
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10603737/
https://www.ncbi.nlm.nih.gov/pubmed/37893925
http://dx.doi.org/10.3390/ani13203201
work_keys_str_mv AT haowangli yolov5safcanovelpigdetectionandcountingmethodbasedonshuffleattentionandfocalcompleteintersectionoverunion
AT zhangli yolov5safcanovelpigdetectionandcountingmethodbasedonshuffleattentionandfocalcompleteintersectionoverunion
AT hanmeng yolov5safcanovelpigdetectionandcountingmethodbasedonshuffleattentionandfocalcompleteintersectionoverunion
AT zhangkai yolov5safcanovelpigdetectionandcountingmethodbasedonshuffleattentionandfocalcompleteintersectionoverunion
AT lifuzhong yolov5safcanovelpigdetectionandcountingmethodbasedonshuffleattentionandfocalcompleteintersectionoverunion
AT yangguoqiang yolov5safcanovelpigdetectionandcountingmethodbasedonshuffleattentionandfocalcompleteintersectionoverunion
AT liuzhenyu yolov5safcanovelpigdetectionandcountingmethodbasedonshuffleattentionandfocalcompleteintersectionoverunion