An Improved Pig Counting Algorithm Based on YOLOv5 and DeepSORT Model
Sensors · 11.07.2023 · 23 (14) · 6309
DOI: 10.3390/s23146309 ↗Kurz gefasst
Fachartikel in der Zeitschrift Sensors, online erschienen am 11.07.2023. Verfasst von Yigui Huang und 5 weiteren Autor:innen. Beteiligte Einrichtung: College of Mathematics Informatics, South China Agricultural University, Guangzhou 510642, China. Hauptthemen laut MEDLINE: Abattoirs, Algorithms. Die Arbeit wurde bisher 29-mal zitiert (Crossref) und nennt 34 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: National Key Research and Development Program of China, National Key R&D Program of China, Key technology research and integrated application of smart agriculture.
Abstract (Originalsprache)
Pig counting is an important task in pig sales and breeding supervision. Currently, manual counting is low-efficiency and high-cost and presents challenges in terms of statistical analysis. In response to the difficulties faced in pig part feature detection, the loss of tracking due to rapid movement, and the large counting deviation in pig video tracking and counting research, this paper proposes an improved pig counting algorithm (Mobile Pig Counting Algorithm with YOLOv5xpig and DeepSORTPig (MPC-YD)) based on YOLOv5 + DeepSORT model. The algorithm improves the detection rate of pig body parts by adding two different sizes of SPP networks and using SoftPool instead of MaxPool operations in YOLOv5x. In addition, the algorithm includes a pig reidentification network, a pig-tracking method based on spatial state correction, and a pig counting method based on frame number judgment on the DeepSORT algorithm to improve pig tracking accuracy. Experimental analysis shows that the MPC-YD algorithm achieves an average precision of 99.24% in pig object detection and an accuracy of 85.32% in multitarget pig tracking. In the aisle environment of the slaughterhouse, the MPC-YD algorithm achieves a correlation coefficient (R2) of 98.14% in pig counting from video, and it achieves stable pig counting in a breeding environment. The algorithm has a wide range of application prospects.
Schlagwörter
MeSH-Schlagwörter (MEDLINE)
Stichwörter der Autor:innen
Autor:innen und Institutionen
- College of Mathematics Informatics, South China Agricultural University, Guangzhou 510642, China.
- Key Laboratory of Smart Agricultural Technology in Tropical South China, Ministry of Agriculture and Rural Affairs, Guangzhou 510642, China.
ORCID-Profile: Yigui Huang
Förderung
- National Key Research and Development Program of China
- National Key R&D Program of China
- Key technology research and integrated application of smart agriculture
Zitieren
APA
Huang, Y., Xiao, D., Liu, J., Tan, Z., Liu, K., & Chen, M. (2023). An Improved Pig Counting Algorithm Based on YOLOv5 and DeepSORT Model. Sensors, 23(14), 6309. https://doi.org/10.3390/s23146309
Vancouver
Huang Y, Xiao D, Liu J, Tan Z, Liu K, Chen M. An Improved Pig Counting Algorithm Based on YOLOv5 and DeepSORT Model. Sensors. 2023;23(14):6309. doi:10.3390/s23146309
BibTeX
@article{Huang2023,
author = {Huang, Yigui and Xiao, Deqin and Liu, Junbin and Tan, Zhujie and Liu, Kejian and Chen, Miaobin},
title = {An Improved Pig Counting Algorithm Based on YOLOv5 and DeepSORT Model},
journal = {Sensors},
year = {2023},
volume = {23},
number = {14},
pages = {6309},
doi = {10.3390/s23146309}
}
EUVIMED