PIG RECOGNITION BASED ON YOLOV8-EAPNET
Juan LIU, Yaqi YAN, Yongshuai YANG, Yuhao HAO, Baofan CHEN, Mingkai YANG, Jie HU
Shanxi Agricultural University
Key points
From the paper's conclusion- To overcome the challenge of balancing computational efficiency and accuracy in existing behavior recognition systems, this study proposes an optimized model based on YOLOv8-EAPNet for accurately recognizing four main pig behaviors: standing, sitting, lateral lying, and prone lying.
Abstract
With the advancement of intelligent farming technology, computer vision-based animal behavior recognition has become an important tool for improving production efficiency and animal welfare in modern farming management. To overcome the challenge of balancing computational efficiency and accuracy in existing behavior recognition systems, this study proposes an optimized model based on YOLOv8-EAPNet for accurately recognizing four main pig behaviors: standing, sitting, lateral lying, and prone lying. The framework adopts a multi-level lightweight design, incorporating three advanced technologies—C2f-ECA, SPPELAN, and Detect_AFPN—to enhance joint feature response, resolve spatial differences between sitting and lateral lying, and reconstruct semantics in occluded areas. This strengthens the model's robustness in complex farming environments and significantly improves the accuracy of pig behavior recognition. Validated on farm data, the model achieved an average precision improvement of 1.5% on a self-built dataset, with specific accuracy increases of 0.9% for standing, 1.7% for sitting, 3.0% for prone lying, and 0.3% for lateral lying. This technology provides an automated tool for early warning of limb injuries and respiratory diseases in pigs, promoting the upgrade of intelligent health management in the livestock industry and supporting the modernization of large-scale pig farming.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Fine-Grained Pig Behavior Recognition Method Based on an Improved YOLOv8n Network.Animals : an open access journal from MDPI · 2026
- Feeding behavior recognition of group-housed pigs based on pose estimation and keypoint features discriminationComputers and Electronics in Agriculture · 2025
- Monitoring of Sows’ Standing Reflex During Estrus Based on Machine VisionAgriculture · 2026
- MMBs_TransNeXt: a hierarchical adaptive feature learning model for pig behavior recognition in precision livestock farming.Frontiers in veterinary science · 2026
- Precision livestock monitoring of lactating sows: YOLOv8-based behavioral analysis under varying feeding strategiesJournal of Animal Science and Technology · 2026
- Identifying mounting behaviour in boars using deep learning-based instance segmentation and binary classification - a pilot study.Frontiers in bioinformatics · 2026