Full text

Turn on search term navigation

© 2025 by the authors. 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/). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.

Abstract

Simple Summary

Monitoring pigs in large-scale farms through surveillance cameras is challenging due to complex environments and overlapping animals. This study developed an improved computer vision system called YOLOv8A-SD that can accurately count and track pigs from top-view cameras. The system introduces two key improvements: an attention mechanism that helps the model focus on important features of each pig and a practical training strategy that uses original camera footage for training while applying image preprocessing only during testing. This approach achieved highly accurate pig counting (25.05 compared to actual 25.09 pigs) and reliable pig detection (96.1% accuracy). The findings make it easier to implement automated pig monitoring in real farm conditions, as farmers can use raw camera footage for training the system while maintaining high accuracy. This technology provides a practical tool for farmers to monitor pig numbers and distribution automatically, supporting better farm management decisions.

Details

Title
YOLOv8A-SD: A Segmentation-Detection Algorithm for Overlooking Scenes in Pig Farms
Author
Liao, Yiran 1 ; Qiu, Yipeng 2   VIAFID ORCID Logo  ; Liu, Bo 3 ; Qin, Yibin 1 ; Wang, Yuchao 1 ; Wu, Zhijun 1 ; Xu, Lijia 1   VIAFID ORCID Logo  ; Ao Feng 1   VIAFID ORCID Logo 

 College of Mechanical and Electrical Engineering, Sichuan Agricultural University, Ya’an 625000, China; [email protected] (Y.L.); [email protected] (Y.Q.); [email protected] (Y.W.); [email protected] (Z.W.); [email protected] (A.F.) 
 College of Information Engineering, Sichuan Agricultural University, Ya’an 625000, China; [email protected] 
 Sichuan Academy of Agricultural Mechanisation Sciences, Ya’an 610000, China; [email protected] 
First page
1000
Publication year
2025
Publication date
2025
Publisher
MDPI AG
e-ISSN
20762615
Source type
Scholarly Journal
Language of publication
English
ProQuest document ID
3188769748
Copyright
© 2025 by the authors. 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/). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.