机构地区:[1]河南科技大学农业装备工程学院,河南洛阳471000
出 处:《智慧农业(中英文)》2024年第5期153-163,共11页Smart Agriculture
基 金:国家重点研发计划项目(2023YFD2000702);河南省国际科技合作项目(232102521006);河南省高校科技创新人才项目(24HASTIT052)。
摘 要:[目的/意义]为解决奶牛在行走过程中出现滑蹄姿态无法自动识别检测的问题,基于深度学习的方法对奶牛身体关键点进行定位分析,实现对奶牛滑蹄姿态的自动检测。[方法]选取奶牛四蹄及头部作为奶牛身体关键点,基于DeepLabCut(DLC)对奶牛四蹄及头部关键点进行定位,首先选取ResNet系列、MobileNet-V2系列、EfficientNet系列等10个网络模型替换DLC的主干网络,最终选取准确率最高的ResNet-50作为DLC的主干网络,随后选择轻量级的卷积块注意力模块(Convolutional Block Attention Module,CBAM)嵌入ResNet-50的网络结构中,完成对ResNet-50网络模型的改进。通过改进后的模型得到奶牛身体关键点坐标,绘制奶牛四蹄及头部运动曲线。利用奶牛身体关键点运动曲线进行分析,提取奶牛滑蹄姿态的特征参数Feature1、奶牛滑蹄距离的特征参数Feature2。基于决策树对提取的奶牛滑蹄姿态特征参数进行模型的训练和验证。利用提取的奶牛滑蹄特征参数对奶牛的滑蹄距离进行计算,同时人工对奶牛滑蹄距离进行标定,与预测的滑蹄距离进行比较。[结果和讨论]改进后的ResNet-50网络相较于ResNet-50在验证集的定位准确率提高了9.7%,相较于YOLOv8s-pose的定位精准度提高了1.06 pixels,与手动标识的身体关键点之间的均方根误差(Root Mean Square Error,RMSE)仅为2.99 pixels。采用10折交叉验证对奶牛滑蹄检测模型的效果进行评估,结果表明,该模型的平均准确率、精确度、召回率和F1分数分别为90.42%,0.943,0.949和0.941。基于特征参数Feature2计算的奶牛滑蹄距离与人工标定奶牛滑蹄距离的RMSE仅为1.363 pixels。[结论]融合CBAM模块改进的ResNet-50网络模型对奶牛身体关键点定位的准确率较高,基于滑蹄判断特征参数Feature1和滑蹄距离检测特征参数Feature2建立的奶牛滑蹄判断模型和奶牛滑蹄距离预测模型与人工检测的结果相比,都有较小�[Objective]The phenomenon of hoof slipping occurs during the walking process of cows,which indicates the deterioration of the farming environment and a decline in the cows'locomotor function.Slippery grounds can lead to injuries in cows,resulting in unnecessary economic losses for farmers.To achieve automatically recognizing and detecting slippery hoof postures during walking,the study focuses on the localization and analysis of key body points of cows based on deep learning methods.Motion curves of the key body points were analyzed,and features were extracted.The effectiveness of the extracted features was verified using a decision tree classification algorithm,with the aim of achieving automatic detection of slippery hoof postures in cows.[Method]An improved localization method for the key body points of cows,specifically the head and four hooves,was proposed based on the DeepLabCut model.Ten networks,including ResNet series,MobileNet-V2 series,and EfficientNet series,were selected to respectively replace the backbone network structure of DeepLabCut for model training.The root mean square error(RMSE),model size,FPS,and other indicators were chosen,and after comprehensive consideration,the optimal backbone network structure was selected as the pre-improved network.A network structure that fused the convolutional block attention module(CBAM)attention mech anism with ResNet-50 was proposed.A lightweight attention module,CBAM,was introduced to improve the ResNet-50 network structure.To enhance the model's generalization ability and robustness,the CBAM attention mechanism was embedded into the first convolution layer and the last convolution layer of the ResNet-50 network structure.Videos of cows with slippery hooves walking in profile were predicted for key body points using the improved DeepLabCut model,and the obtained key point coordinates were used to plot the motion curves of the cows'key body points.Based on the motion curves of the cows'key body points,the feature parameter Feature1 for detecting slippery ho
关 键 词:深度学习 奶牛滑蹄 ResNet-50 决策树 CBAM注意力机制 决策树
分 类 号:TP391[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...