期刊文献+

基于注意力机制与自适应特征融合的群养猪身份识别

Identification of Group-housed Pigs Based on Attention Mechanism and Adaptive Feature Fusion
下载PDF
导出
摘要 针对群养猪攻击过程中身体形变和重叠影响猪身份识别精度的问题,开发一种基于注意力机制和自适应特征融合的深度学习方法以提高猪身份识别精度。录制猪栏中8只猪每天8小时共3天的视频,并筛选含攻击的16830帧作为数据集。首先,采用ResNet50提取猪的卷积神经网络(CNN)特征;然后,采用特征金字塔网络(FPN)在ResNet50中选择3层不同尺度的特征,以优化这些特征的定位和语义信息;接着,采用自注意力机制提高这些特征的区分度,并采用自适应空间特征融合(ASFF)以融合不同尺度的特征;最后,利用卷积和Sigmoid函数相结合的检测器对猪身份进行识别。使用该方法后,猪身份识别的均值平均精度(mAP)达到95.59%,速度达到37.6 f/s。结果表明,该方法能够在攻击场景下有效识别猪身份,有助于将攻击识别从群体级细化为个体级。 Aiming at the problem that body deformation and overlap during the attack reduce the accuracy of pig identification,a deep learn-ing method based on attention mechanism and adaptive feature fusion was developed to improve the accuracy of pig identification.Eight pigs were mixed into a new pen and 8 h of video/day was recorded for 3 days.From these videos,16,830 frames of aggressive behaviour were la-belled.Firstly,ResNet50 was chosen to extract the convolutional neural network(CNN)features of pigs.Secondly,feature pyramid network(FPN)was used to select three layers of features with different scales to optimise these features’locating and semantic information.Then a self-attention mechanism is used to improve the discrimination of these features,and adaptive spatial feature fusion(ASFF)was used to fuse features of different scales.Finally,the detector combined with convolution and sigmoid function was used to identify pigs.Using the proposed method,pigs were identified with mAP(mean average precision)of 95.59%and FPS(frames per second)of 37.6,respectively.These results indicate this method could identify pigs engaged in attack scenarios,helping to move the recognition of aggression from the group to the indi-vidual level.
作者 韩丁磊 陈晨 Steibel Juan Siegford Janice 韩俊杰 王梦凡 徐雷钧 Norton Tomas HAN Dinglei;CHEN Chen;STEIBEL Juan;SIEGFORD Janice;HAN Junjie;WANG Mengfan;XU Leijun;NORTON Tomas(School of Electrical and Information Engineering,Jiangsu University,Zhenjiang 212013,China;Department of Animal Science,Io-wa State University,Ames,IA 50010,USA;Animal Behaviour and Welfare Group,Department of Animal Science,Michigan State Univer-sity,East Lansing 48824,USA;Animal Behaviour and Welfare Group,Department of Computational Mathematics,Science and Engineer-ing,Michigan State University,East Lansing 48824,USA;Division of Measure,Model&Manage Bioresponses(M3-Biores),KU Leuven,Leuven 30001,Belgium)
出处 《软件导刊》 2024年第6期25-31,共7页 Software Guide
基金 国家自然科学基金项目(32102598) USDA National Institute of Food and Agriculture Program(2017-67007-26176,2021-67021-34150) 江苏省高等学校大学生创新创业训练计划项目(202210299122Y)。
关键词 群养猪 身份识别 注意力机制 特征融合 深度学习 group-housed pigs identification attention mechanism feature fusion deep learning
  • 相关文献

参考文献2

二级参考文献9

共引文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部