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
来源
SMART AGRICULTURAL TECHNOLOGY | 2025年 / 10卷
关键词
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 条
  • [21] A Lightweight UAV Visual Obstacle Avoidance Algorithm Based on Improved YOLOv8
    Du, Zongdong
    Feng, Xuefeng
    Li, Feng
    Xian, Qinglong
    Jia, Zhenhong
    CMC-COMPUTERS MATERIALS & CONTINUA, 2024, 81 (02): : 2607 - 2627
  • [22] Improved YOLOv8 Lightweight UAV Target Detection Algorithm
    Hu, Junfeng
    Li, Baicong
    Zhu, Hao
    Huang, Xiaowen
    Computer Engineering and Applications, 2024, 60 (08) : 182 - 191
  • [23] Improved Lightweight Bearing Defect Detection Algorithm of YOLOv8
    Yao, Jingli
    Cheng, Guang
    Wan, Fei
    Zhu, Deping
    Computer Engineering and Applications, 2024, 60 (21) : 205 - 214
  • [24] Lightweight rail surface defect detection algorithm based on an improved YOLOv8
    Xu, CanYang
    Liao, Yingying
    Liu, Yongqiang
    Tian, Runliang
    Guo, Tao
    MEASUREMENT, 2025, 242
  • [25] Cable Conduit Defect Recognition Algorithm Based on Improved YOLOv8
    Kong, Fanfang
    Zhang, Yi
    Zhan, Lulin
    He, Yuling
    Zheng, Hai
    Dai, Derui
    ELECTRONICS, 2024, 13 (13)
  • [26] Improved YOLOv8 Multi-Scale and Lightweight Vehicle Object Detection Algorithm
    Zhang, Lifeng
    Tian, Ying
    Computer Engineering and Applications, 2024, 60 (03) : 129 - 137
  • [27] Lightweight construction safety behavior detection model based on improved YOLOv8
    Kan Huang
    Mideth B. Abisado
    Discover Applied Sciences, 7 (4)
  • [28] Faster-YOLO-AP: A lightweight apple detection algorithm based on improved YOLOv8 with a new efficient PDWConv in orchard
    Liu, Zifu
    Abeyrathna, R. M. Rasika D.
    Sampurno, Rizky Mulya
    Nakaguchi, Victor Massaki
    Ahamed, Tofael
    COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2024, 223
  • [29] LCDDN-YOLO: Lightweight Cotton Disease Detection in Natural Environment, Based on Improved YOLOv8
    Feng, Haoran
    Chen, Xiqu
    Duan, Zhaoyan
    AGRICULTURE-BASEL, 2025, 15 (04):
  • [30] YOLOV8-MR: An Improved Lightweight YOLOv8 Algorithm for Tomato Fruit Detection
    Li, Xu
    Cai, Changhan
    Yang, Yue
    Song, Bo
    IEEE ACCESS, 2025, 13 : 48120 - 48131