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 条
  • [21] Detecting chestnuts using improved lightweight YOLOv8
    Li M.
    Xiao Y.
    Zong W.
    Song B.
    Nongye Gongcheng Xuebao/Transactions of the Chinese Society of Agricultural Engineering, 2024, 40 (01): : 201 - 209
  • [22] A Lightweight Real-Time Recognition Algorithm for Tomato Leaf Disease Based on Improved YOLOv8
    Liu, Wenbo
    Bai, Chenhao
    Tang, Wei
    Xia, Yu
    Kang, Jie
    AGRONOMY-BASEL, 2024, 14 (09):
  • [23] Improved Lightweight YOLOv8 Model for Rice Disease Detection in Multi-Scale Scenarios
    Wang, Jinfeng
    Ma, Siyuan
    Wang, Zhentao
    Ma, Xinhua
    Yang, Chunhe
    Chen, Guoqing
    Wang, Yijia
    AGRONOMY-BASEL, 2025, 15 (02):
  • [24] EDGS-YOLOv8: An Improved YOLOv8 Lightweight UAV Detection Model
    Huang, Min
    Mi, Wenkai
    Wang, Yuming
    DRONES, 2024, 8 (07)
  • [25] Student Behavior Detection in the Classroom Based on Improved YOLOv8
    Chen, Haiwei
    Zhou, Guohui
    Jiang, Huixin
    SENSORS, 2023, 23 (20)
  • [26] Anomalous white shrimp detection in intensive farming based on improved YOLOv8
    Ran, Xun
    Li, Beibei
    Zhang, Yuhang
    Kong, Mingrui
    Duan, Qingling
    AQUACULTURAL ENGINEERING, 2024, 107
  • [27] A lightweight model for echo trace detection in echograms based on improved YOLOv8
    Ma, Jungang
    Tong, Jianfeng
    Xue, Minghua
    Yao, Junfan
    SCIENTIFIC REPORTS, 2024, 14 (01):
  • [28] Attention-Based Lightweight YOLOv8 Underwater Target Recognition Algorithm
    Cheng, Shun
    Wang, Zhiqian
    Liu, Shaojin
    Han, Yan
    Sun, Pengtao
    Li, Jianrong
    SENSORS, 2024, 24 (23)
  • [29] A lightweight Yunnan Xiaomila detection and pose estimation based on improved YOLOv8
    Wang, Fenghua
    Tang, Yuan
    Gong, Zaipeng
    Jiang, Jin
    Chen, Yu
    Xu, Qiang
    Hu, Peng
    Zhu, Hailong
    FRONTIERS IN PLANT SCIENCE, 2024, 15
  • [30] 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