PBR-YOLO: A lightweight piglet multi-behavior recognition algorithm based on improved yolov8

被引:0
|
作者
Luo, Yizhi [2 ,5 ,6 ]
Lin, Kai [4 ]
Xiao, Zixuan [3 ]
Lv, Enli [1 ,3 ,5 ]
Wei, Xinyu [2 ,5 ]
Li, Bin [2 ]
Lu, Huazhong [2 ]
Zeng, Zhixiong [1 ,3 ]
机构
[1] Minist Agr & Rural Affairs, Key Lab Modern Agr Intelligent Equipment South Chi, Beijing 510630, Peoples R China
[2] Guangdong Acad Agr Sci, Inst Facil Agr, Guangzhou 510640, Peoples R China
[3] South China Agr Univ, Coll Engn, Guangzhou 510642, Peoples R China
[4] South China Agr Univ, Coll Math & Informat, Guangzhou 510642, Peoples R China
[5] State Key Lab Swine & Poultry Breding Ind, Guangzhou 510640, Peoples R China
[6] Key Lab Agr Equipment Technol, Guangzhou 510642, Peoples R China
来源
关键词
Animals behavior recognition; Lightweight; Attention mechanism; Deep learning; Object detection; FEATURE-EXTRACTION; PIGS; CLASSIFICATION;
D O I
10.1016/j.atech.2025.100785
中图分类号
S2 [农业工程];
学科分类号
0828 ;
摘要
In modern intensive pig farming, precise recognition of piglet behavior is essential for assessing growth and enhancing animal welfare; however, existing research largely focuses on adult pigs, lacking detailed classification for piglets, while traditional detection models face challenges in real-world farming environments due to large model parameters and high computational complexity. To overcome these limitations, this paper proposes a lightweight multi-behavior detection model for piglets based on YOLOv8, designed to recognize eight behaviors (Lying, Kneeling, Standing, Drinking, Suckling, Trampling, Hitting and Biting ear). Firstly, GhostNet is employed to replace the original backbone of YOLOv8, simplifying the architecture while improving detection speed, and the FasterNet Block, integrated with an efficient multi-scale attention (EMA) mechanism, is embedded into the C2f module to effectively facilitate the feature fusion process through enhanced feature extraction. Additionally, an efficient lightweight multi-path detection head (ELMD) is utilized to reduce computational complexity through parallel structures and shared convolutional parameters. Experimental results indicate that the improved model significantly outperforms the original YOLOv8n model, achieving a 2.5 % increase in precision, a 1.5 % improvement in mean average precision(mAP), a 9.1 ms reduction in inference latency, and a 59.1 % decrease in parameter count, resulting in a final model size of 3.6 MB. Compared to mainstream detection models like SSD, RT-DETR, Faster R-CNN, YOLOv5n, YOLOv7-tiny, and YOLOv10n, our improved model exhibits superior performance with a precision of 82.7 %, mAP of 78.5 % with 1.23M Parameters and 3.9G FLOPs, demonstrating its efficiency, accuracy, and lightweight design. To validate the improved YOLOv8 model's effectiveness on edge devices, the proposed model was deployed on the NVIDIA Jetson Orin NX platform, and its performance metrics were analyzed to assess its efficiency in recognizing multiple piglet behaviors. Finally, with TensorRT acceleration on the Jetson Orin NX platform, the average inference time per image reached 15.8 ms. This study offers a feasible solution for intelligent monitoring in intensive pig farming.
引用
收藏
页数:20
相关论文
共 50 条
  • [1] LWFDD-YOLO: a lightweight defect detection algorithm based on improved YOLOv8
    Chen, Chang
    Zhou, Qihong
    Xiao, Lei
    Li, Shujia
    Luo, Dong
    TEXTILE RESEARCH JOURNAL, 2024,
  • [2] A Lightweight Tea Pest Detection Algorithm Based on Improved YOLOv8: YOLO-SEM
    Ye, Rong
    Shao, Guoqi
    Li, Tong
    PROCEEDINGS OF 2024 INTERNATIONAL CONFERENCE ON MACHINE INTELLIGENCE AND DIGITAL APPLICATIONS, MIDA2024, 2024, : 52 - 61
  • [3] FBS-YOLO: an improved lightweight bearing defect detection algorithm based on YOLOv8
    Li, Junjie
    Cheng, Mingxia
    PHYSICA SCRIPTA, 2025, 100 (02)
  • [4] Research on the Behavior Recognition of Beef Cattle Based on the Improved Lightweight CBR-YOLO Model Based on YOLOv8 in Multi-Scene Weather
    Mu, Ye
    Hu, Jinghuan
    Wang, Heyang
    Li, Shijun
    Zhu, Hang
    Luo, Lan
    Wei, Jinfan
    Ni, Lingyun
    Chao, Hongli
    Hu, Tianli
    Sun, Yu
    Gong, He
    Guo, Ying
    ANIMALS, 2024, 14 (19):
  • [5] Helmet detection algorithm based on lightweight improved YOLOv8
    Wang, Maoli
    Qiu, Haitao
    Wang, Jiarui
    SIGNAL IMAGE AND VIDEO PROCESSING, 2025, 19 (01)
  • [6] LTSCD-YOLO: A Lightweight Algorithm for Detecting Typical Satellite Components Based on Improved YOLOv8
    Tang, Zixuan
    Zhang, Wei
    Li, Junlin
    Liu, Ran
    Xu, Yansong
    Chen, Siyu
    Fang, Zhiyue
    Zhao, Fuchenglong
    REMOTE SENSING, 2024, 16 (16)
  • [7] Research on Calf Behavior Recognition Based on Improved Lightweight YOLOv8 in Farming Scenarios
    Yuan, Ze
    Wang, Shuai
    Wang, Chunguang
    Zong, Zheying
    Zhang, Chunhui
    Su, Lide
    Ban, Zeyu
    ANIMALS, 2025, 15 (06):
  • [8] Lightweight Underwater Optical Image Recognition Algorithm Based on YOLOv8
    Cheng, Shun
    Li, Jianrong
    Wang, Zhiqian
    Liu, Shaojin
    Wang, Muyuan
    LASER & OPTOELECTRONICS PROGRESS, 2025, 62 (04)
  • [9] Lightweight insulator defect detection algorithm based on improved YOLOv8
    Tang, Mingyue
    Wu, Hang
    PROCEEDINGS OF 2024 3RD INTERNATIONAL CONFERENCE ON CYBER SECURITY, ARTIFICIAL INTELLIGENCE AND DIGITAL ECONOMY, CSAIDE 2024, 2024, : 197 - 201
  • [10] A lightweight rice pest detection algorithm based on improved YOLOv8
    Zheng, Yong
    Zheng, Weiheng
    Du, Xia
    SCIENTIFIC REPORTS, 2024, 14 (01):