| 注册
首页|期刊导航|农业机械学报|基于改进YOLO v8的牛只行为识别与跟踪方法

基于改进YOLO v8的牛只行为识别与跟踪方法

付辰伏 任力生 王芳

农业机械学报2024,Vol.55Issue(5):290-301,12.
农业机械学报2024,Vol.55Issue(5):290-301,12.DOI:10.6041/j.issn.1000-1298.2024.05.028

基于改进YOLO v8的牛只行为识别与跟踪方法

Method for Cattle Behavior Recognition and Tracking Based on Improved YOLO v8

付辰伏 1任力生 1王芳1

作者信息

  • 1. 河北农业大学信息科学与技术学院,保定 071001||河北省农业大数据重点实验室,保定 071001
  • 折叠

摘要

Abstract

With the rapid development of animal husbandry in China,the transition from farmers'dispersed cattle breeding to precision husbandry has become increasingly important.Efficient management of breeding,behavior monitoring,disease prevention,and health assurance pose significant challenges.Traditionally,farmers have struggled to provide adequate attention to each cow.To address these challenges,a comprehensive approach was developed that accurately identified and tracked cattle behavior by analyzing behavior patterns and visual characteristics.Firstly,the improved YOLO v8 algorithm was employed for cattle target detection.The model's feature extraction capabilities were enhanced by incorporating the C2f-faster structure into the Backbone and Neck.The upsampling operator CARAFE was introduced to expand the perception field for data feature fusion.To identify small area characteristics of young cattle,the BiFormer attention mechanism was integrated into the detection process,replacing the dynamic target detection head DyHead.This allowed to effectively integrate scale,space,and task perception.Furthermore,the issue of the uneven distribution of positive and negative samples and the limitations of CIoU was addressed by utilizing the Focal SIoU function.Finally,the behavior category information detected by YOLO v8 was incorporated into the BoTSORT algorithm to enable multi-target behavior recognition and tracking in complicated situations.The experiments demonstrated significant performance improvements.The proposed FBCD-YOLO v8n model outperformed both the YOLO v5n,YOLO v7tiny,and the original YOLO v8n models,with an increase of 3.4 percentage points,3.1 percentage points,and 2.4 percentage points in mAP@0.5,respectively,on the bovine behavior dataset.Notably,the accuracy of bovine back licking behavior recognition was increased by 7.4 percentage points.Regarding tracking,the BoTSORT algorithm achieved an MOTA of 96.1%,MOTP of 78.6%,HOTA of 78.9%,and IDF1 of 98.0%.Compared with ByteTrack and StrongSORT algorithms,the proposed method of MOTA and IDF1 scores demonstrated significant tracking improvements.This research demonstrated that the multi-objective cattle behavior recognition and tracking system developed can provide effective assistance to farmers in monitoring cattle behavior within the cattle barn environment.It offered crucial technical support for automated and precise cattle breeding.

关键词

牛只/目标监测/行为识别/多目标跟踪/YOLO v8/BoTSORT

Key words

cattle/object detection/behavior recognition/multi-object tracking/YOLO v8/BoTSORT

分类

信息技术与安全科学

引用本文复制引用

付辰伏,任力生,王芳..基于改进YOLO v8的牛只行为识别与跟踪方法[J].农业机械学报,2024,55(5):290-301,12.

基金项目

河北省省级科技计划项目(19220119D) (19220119D)

农业机械学报

OA北大核心CSTPCD

1000-1298

访问量0
|
下载量0
段落导航相关论文