| 注册
首页|期刊导航|农业机械学报|基于关键点和步行特征的猪只跛行检测方法

基于关键点和步行特征的猪只跛行检测方法

杨秋妹 黄森鹏 肖德琴 惠向阳 黄一桂 李文刚

农业机械学报2025,Vol.56Issue(5):466-474,9.
农业机械学报2025,Vol.56Issue(5):466-474,9.DOI:10.6041/j.issn.1000-1298.2025.05.044

基于关键点和步行特征的猪只跛行检测方法

Pig Lameness Detecting Method Based on Key Points and Walking Features

杨秋妹 1黄森鹏 1肖德琴 1惠向阳 1黄一桂 1李文刚1

作者信息

  • 1. 华南农业大学数学与信息学院,广州 510642||农业农村部华南热带智慧农业技术重点实验室,广州 510642
  • 折叠

摘要

Abstract

The problem of lameness in pigs presents significant challenges to the production and management of pig farms,making accurate detection of pig lameness crucial.Currently,pig farms primarily rely on manual observation and recording,which is inefficient,time-consuming,and prone to subjective judgment errors.In light of this,a method for detecting pig lameness based on key points and walking characteristics was proposed.Firstly,key point information for pigs was defined and determined,including critical parts such as the legs,knees,and back.Based on these key points,an improved YOLO v8n-pose model was employed for detection.This model built upon the original YOLO v8n-pose by introducing a bidirectional feature pyramid network(BiFPN)at the neck for multi-scale feature fusion and incorporating a RepGhost network into the backbone to reduce the parameter count and computational complexity of the feature extraction network.Then using the coordinates of the detected key points,walking characteristics such as stride length,knee bending degree,and back curvature were calculated.These features were inputed into a K-nearest neighbors(KNN)algorithm to classify pigs as lame or non-lame.Experimental results showed that the improved YOLO v8n-pose model achieved a mean average precision(mAP)of 92.4%,which was 4.2 percentage points higher than the detection accuracy of the original YOLO v8n-pose model.Compared with other key point detection models(HRNet-w32,Lite-HRNet,ResNet50,ViPNAS,and Hourglass),the mAP was improved by 10.2,11.6,14.2,11.8 and 12.5 percentage points,respectively.The KNN algorithm achieved a detection accuracy of 81.7%on the pig lameness test set,which was 1.5,11.3 and 6.5 percentage points higher than that of the BP algorithm,Decision Tree algorithm,and SVM algorithm,respectively.These results demonstrated that the proposed method for detecting pig lameness was feasible and can provide technical support for pig farm detection.

关键词

猪只/跛行/关键点检测/YOLO v8n-pose/步行特征

Key words

pig/lameness/keypoint detection/YOLO v8n-pose/gait features

分类

信息技术与安全科学

引用本文复制引用

杨秋妹,黄森鹏,肖德琴,惠向阳,黄一桂,李文刚..基于关键点和步行特征的猪只跛行检测方法[J].农业机械学报,2025,56(5):466-474,9.

基金项目

广东省重点领域研发计划项目(2023B0202140001)和国家重点研发计划项目(2021YFD2000802) (2023B0202140001)

农业机械学报

OA北大核心

1000-1298

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