| 注册
首页|期刊导航|智慧农业(中英文)|基于改进YOLOv8n-pose和三维点云分析的蒙古马体尺自动测量方法

基于改进YOLOv8n-pose和三维点云分析的蒙古马体尺自动测量方法

李明煌 苏力德 张永 宗哲英 张顺

智慧农业(中英文)2024,Vol.6Issue(4):91-102,12.
智慧农业(中英文)2024,Vol.6Issue(4):91-102,12.DOI:10.12133/j.smartag.SA202312027

基于改进YOLOv8n-pose和三维点云分析的蒙古马体尺自动测量方法

Automatic Measurement of Mongolian Horse Body Based on Improved YOLOv8n-pose and 3D Point Cloud Analysis

李明煌 1苏力德 1张永 1宗哲英 1张顺2

作者信息

  • 1. 内蒙古农业大学 机电工程学院,内蒙古呼和浩特 010018,中国||牧草饲料生产全程智能化装备内蒙古自治区工程研究中心,内蒙古呼和浩特 010018,中国
  • 2. 内蒙古自治区巴彦淖尔市现代农牧事业发展中心,内蒙古巴彦淖尔 015001,中国
  • 折叠

摘要

Abstract

[Objective]There exist a high genetic correlation among various morphological characteristics of Mongolian horses.Utilizing ad-vanced technology to obtain body structure parameters related to athletic performance could provide data support for breeding institu-tions to develop scientific breeding plans and establish the groundwork for further improvement of Mongolian horse breeds.However,traditional manual measurement methods are time-consuming,labor-intensive,and may cause certain stress responses in horses.There-fore,ensuring precise and effective measurement of Mongolian horse body dimensions is crucial for formulating early breeding plans. [Method]Video images of 50 adult Mongolian horses in the suitable breeding stage at the Inner Mongolia Agricultural University Horse Breeding Technical Center was first collected.Fifty images per horse were captured to construct the training and validation sets,resulting in a total of 2 500 high-definition RGB images of Mongolian horses,with an equal ratio of images depicting horses in mo-tion and at rest.To ensure the model's robustness and considering issues such as angles,lighting,and image blurring during actual im-age capture,a series of enhancement algorithms were applied to the original dataset,expanding the Mongolian horse image dataset to 4 000 images.The YOLOv8n-pose was employed as the foundational keypoint detection model.Through the design of the C2f_DCN module,deformable convolution(DCNV2)was integrated into the C2f module of the Backbone network to enhance the model's adapt-ability to different horse poses in real-world scenes.Besides,an SA attention module was added to the Neck network to improve the model's focus on critical features.The original loss function was replaced with SCYLLA-IoU(SIoU)to prioritize major image re-gions,and a cosine annealing method was employed to dynamically adjust the learning rate during model training.The improved mod-el was named DSS-YOLO(DCNv2-SA-SIoU-YOLO)network model.Additionally,a test set comprising 30 RGB-D images of ma-ture Mongolian horses was selected for constructing body dimension measurement tasks.DSS-YOLO was used for keypoint detection of body dimensions.The 2D keypoint coordinates from RGB images were fused with corresponding depth values from depth images to obtain 3D keypoint coordinates,and Mongolian horse's point cloud information was transformed.Point cloud processing and analy-sis were performed using pass-through filtering,random sample consensus(RANSAC)shape fitting,statistical outlier filtering,and principal component analysis(PCA)coordinate system correction.Finally,body height,body oblique length,croup height,chest cir-cumference,and croup circumference were automatically computed based on keypoint spatial coordinates. [Results and Discussion]The proposed DSS-YOLO model exhibited parameter and computational costs of 3.48 M and 9.1 G,respec-tively,with an average accuracy mAP0.5:0.95 reaching 92.5%,and a dDSS of 7.2 pixels.Compared to Hourglass,HRNet,and SimCC,mAP0.5:0.95 increased by 3.6%,2.8%,and 1.6%,respectively.By relying on keypoint coordinates for automatic calculation of body di-mensions and suggesting the use of a mobile least squares curve fitting method to complete the horse's hip point cloud,experiments in-volving 30 Mongolian horses showed a mean average error(MAE)of 3.77 cm and mean relative error(MRE)of 2.29%in automatic measurements. [Conclusions]The results of this study showed that DSS-YOLO model combined with three-dimensional point cloud processing meth-ods can achieve automatic measurement of Mongolian horse body dimensions with high accuracy.The proposed measurement method can also be extended to different breeds of horses,providing technical support for horse breeding plans and possessing practical appli-cation value.

关键词

蒙古马/体尺测量/卷积神经网络/注意力机制/三维点云处理/YOLOv8n-pose

Key words

Mongolian horse/body measurements/convolutional neural network/attention mechanism/3D point cloud processing/YOLOv8n-pose

分类

信息技术与安全科学

引用本文复制引用

李明煌,苏力德,张永,宗哲英,张顺..基于改进YOLOv8n-pose和三维点云分析的蒙古马体尺自动测量方法[J].智慧农业(中英文),2024,6(4):91-102,12.

基金项目

国家自然科学基金(32360856) (32360856)

内蒙古自治区自然科学基金(2022QN03019) (2022QN03019)

内蒙古自治区高等学校创新团队(NMGIRT2312) (NMGIRT2312)

内蒙古农业大学高层次人才引进科研启动项目(NDYB2020-21) National Natural Science Foundation of China(32360856) (NDYB2020-21)

Inner Mongolia Autonomous Region Natural Science Foundation(2022QN03019) (2022QN03019)

Science and Technology Innovation Project of Higher Education Team in Inner Mongolia Autonomous Region(NMGIRT2312) (NMGIRT2312)

Research Initiation Program for the Introduction of High-level Talents in Inner Mongolia Agricultural Uni-versity(NDYB2020-21) (NDYB2020-21)

智慧农业(中英文)

OACSTPCD

2096-8094

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