Research on Calf Behavior Recognition Based on Improved Lightweight YOLOv8 in Farming Scenarios

被引:0
|
作者
Yuan, Ze [1 ]
Wang, Shuai [1 ]
Wang, Chunguang [1 ]
Zong, Zheying [1 ,2 ,3 ,4 ]
Zhang, Chunhui [1 ]
Su, Lide [1 ]
Ban, Zeyu [1 ]
机构
[1] Inner Mongolia Agr Univ, Coll Electromech Engn, Hohhot 010018, Peoples R China
[2] Innovat Team Higher Educ Inst Inner Mongolia Auton, Hohhot 010018, Peoples R China
[3] Inner Mongolia Engn Res Ctr Intelligent Equipment, Hohhot 010018, Peoples R China
[4] Minist Agr & Rural Affairs Peoples Republ China, Full Mechanizat Res Base Dairy Farming Engn & Equi, Hohhot 010018, Peoples R China
来源
ANIMALS | 2025年 / 15卷 / 06期
关键词
calf; behavior recognition; lightweighting; pruning; image detection;
D O I
10.3390/ani15060898
中图分类号
S8 [畜牧、 动物医学、狩猎、蚕、蜂];
学科分类号
0905 ;
摘要
In order to achieve accurate and efficient recognition of calf behavior in complex scenes such as cow overlapping, occlusion, and different light and occlusion levels, this experiment adopts the method of improving the YOLO v8 model to recognize calf behavior. A calf daily behavior dataset containing 2918 images is selected as the test benchmark through video frame extraction; a P2 small-target detection layer is introduced to improve the resolution of the input scene, which significantly improves the model recognition accuracy, and reduces the computational complexity and storage requirements of the model through the Lamp pruning method. Comparisons are made with the SSD, YOLOv5n, YOLOv8n, YOLOv8-C2f-faster-EMA, YOLO v11n, YOLO v12n, and YOLO v8-P2 advanced models. The results show that the number of parameters, floating point operations (FLOPs), model size, and mean average precision (mAP) of the model after introducing the P2 small-target detection layer and pruning with the Lamp strategy are 0.949 M, 4.0 G, 2.3 Mb, and 90.9%, respectively. The significant improvement in each index effectively reduces the model size and improves the accuracy of the network. The detection results in complex environments with different light and shading levels show that the mAP in daytime (exposure) and nighttime environments is 85.1% and 84.8%, respectively, and the average mAP in the three kinds of shading cases (light, medium, and heavy) is 87.3%, representing a lightweight, high-precision, real-time, and robust model. The results of this study provide a reference for the real-time monitoring of calf behaviors all day long in complex environments.
引用
收藏
页数:18
相关论文
共 50 条
  • [1] A Lightweight Forest Pest Image Recognition Model Based on Improved YOLOv8
    Jiang, Tingyao
    Chen, Shuo
    APPLIED SCIENCES-BASEL, 2024, 14 (05):
  • [2] Lightweight construction safety behavior detection model based on improved YOLOv8
    Kan Huang
    Mideth B. Abisado
    Discover Applied Sciences, 7 (4)
  • [3] PBR-YOLO: A lightweight piglet multi-behavior recognition algorithm based on improved yolov8
    Luo, Yizhi
    Lin, Kai
    Xiao, Zixuan
    Lv, Enli
    Wei, Xinyu
    Li, Bin
    Lu, Huazhong
    Zeng, Zhixiong
    SMART AGRICULTURAL TECHNOLOGY, 2025, 10
  • [4] Helmet detection algorithm based on lightweight improved YOLOv8
    Wang, Maoli
    Qiu, Haitao
    Wang, Jiarui
    SIGNAL IMAGE AND VIDEO PROCESSING, 2025, 19 (01)
  • [5] Lightweight outdoor drowning detection based on improved YOLOv8
    Liu, Xiangju
    Shuai, Tao
    Liu, Dezeng
    JOURNAL OF REAL-TIME IMAGE PROCESSING, 2025, 22 (02)
  • [6] Research on the lightweight detection method of rail internal damage based on improved YOLOv8
    Xiaochun Wu
    Shuzhan Yu
    Journal of Engineering and Applied Science, 2025, 72 (1):
  • [7] Research on a Lightweight Method for Maize Seed Quality Detection Based on Improved YOLOv8
    Niu, Siqi
    Xu, Xiaolin
    Liang, Ao
    Yun, Yuliang
    Li, Li
    Hao, Fengqi
    Bai, Jinqiang
    Ma, Dexin
    IEEE ACCESS, 2024, 12 : 32927 - 32937
  • [8] Research on License Plate Recognition Method Based on LPRNet and Improved YOLOv8
    Wang, Pengfei
    Long, Chuntian
    Quan, Ying
    Jin, Xin
    Du, Mingjuan
    Wang, Lijun
    39TH YOUTH ACADEMIC ANNUAL CONFERENCE OF CHINESE ASSOCIATION OF AUTOMATION, YAC 2024, 2024, : 1819 - 1824
  • [9] 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):
  • [10] CDF-YOLOv8: City Recognition System Based on Improved YOLOv8
    Lu, P.
    Jia, Y. S.
    Zeng, W. X.
    Wei, P.
    IEEE ACCESS, 2024, 12 : 143745 - 143753