Research on Enhanced Dynamic Pig Counting Based on YOLOv8n and Deep SORT
Sensors · 24.04.2025 · 25 (9) · 2680
DOI: 10.3390/s25092680 ↗Kurz gefasst
Fachartikel in der Zeitschrift Sensors, online erschienen am 24.04.2025. Verfasst von Peng Shen und 7 weiteren Autor:innen. Beteiligte Einrichtung: North China Institute of Aerospace Engineering, School of Aeronautics and Astronautics, Langfang 065000, China. Hauptthemen laut MEDLINE: Animal Husbandry. Die Arbeit wurde bisher 8-mal zitiert (Crossref) und nennt 39 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: The Natural Science Foundation of China.
Abstract (Originalsprache)
Pig counting is an essential activity in the administration of pig farming. Currently, manual counting is inefficient, costly, and unsuitable for systematic analysis. However, research on dynamic pig counting encounters challenges, including inadequate detection accuracy stemming from crowding, occlusion, deformation, and low-light conditions. Target tracking issues characterized by poor accuracy, frequent identity confusion, and false positive trajectories ultimately lead to diminished accuracy in the final counting outcomes. Given these existing limitations, this paper proposes an enhanced algorithm based on the YOLOv8n+Deep SORT model. The ELA attention mechanism, GSConv, and VoVGSCSP lightweight convolution modules are introduced in YOLOv8n, which improve detection accuracy and speed for pig target recognition. Additionally, Deep SORT is enhanced by integrating the DenseNet feature extraction network and CIoU matching algorithm, improving the accuracy and stability of target tracking. Experimental results indicate that the improved Deep SORT-P pig tracking algorithm attains MOTA and MOTP values of 89.2% and 90.4%, respectively, reflecting improvements of 4.2% and 1.7%, while IDSW is diminished by 25.5%. Finally, counting experiments were performed on videos of pigs traversing the farm passage using both the original and improved algorithms. The improved YOLOv8n-EGV+Deep SORT-P algorithm achieved a counting accuracy of 92.1%, reflecting a 17.5% improvement over the original algorithm. Meanwhile, the improved algorithm presented in this study successfully attained stable dynamic pig counting in practical environments, offering valuable data and references for research on dynamic pig counting.
Schlagwörter
MeSH-Schlagwörter (MEDLINE)
Stichwörter der Autor:innen
Autor:innen und Institutionen
- North China Institute of Aerospace Engineering, School of Aeronautics and Astronautics, Langfang 065000, China.
- North China Institute of Aerospace Engineering, School of Remote Sensing and Information Engineering, Langfang 065000, China.
- Guangdong-Hong Kong-Macao Greater Bay Area Artificial Intelligence Application Technology Research Institute, Shenzhen Polytechnic University, Shenzhen 518055, China.
ORCID-Profile: Guoqing Zhang, Wei Luo
Förderung
- The Natural Science Foundation of China
Zitieren
APA
Shen, P., Mei, K., Xue, H., Li, T., Zhang, G., Zhao, Y., Luo, W., & Mao, L. (2025). Research on Enhanced Dynamic Pig Counting Based on YOLOv8n and Deep SORT. Sensors, 25(9), 2680. https://doi.org/10.3390/s25092680
Vancouver
Shen P, Mei K, Xue H, Li T, Zhang G, Zhao Y, et al. Research on Enhanced Dynamic Pig Counting Based on YOLOv8n and Deep SORT. Sensors. 2025;25(9):2680. doi:10.3390/s25092680
BibTeX
@article{Shen2025,
author = {Shen, Peng and Mei, Keyu and Xue, Haori and Li, Tenglong and Zhang, Guoqing and Zhao, Yongxiang and Luo, Wei and Mao, Liang},
title = {Research on Enhanced Dynamic Pig Counting Based on YOLOv8n and Deep SORT},
journal = {Sensors},
year = {2025},
volume = {25},
number = {9},
pages = {2680},
doi = {10.3390/s25092680}
}
EUVIMED