| 注册
首页|期刊导航|软件导刊|基于注意力机制与自适应特征融合的群养猪身份识别

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

韩丁磊 陈晨 Steibel Juan Siegford Janice 韩俊杰 王梦凡 徐雷钧 Norton Tomas

软件导刊2024,Vol.23Issue(6):25-31,7.
软件导刊2024,Vol.23Issue(6):25-31,7.DOI:10.11907/rjdk.241323

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

Identification of Group-housed Pigs Based on Attention Mechanism and Adaptive Feature Fusion

韩丁磊 1陈晨 1Steibel Juan 2Siegford Janice 3韩俊杰 4王梦凡 1徐雷钧 1Norton Tomas5

作者信息

  • 1. 江苏大学 电气信息工程学院,江苏 镇江 212013
  • 2. Department of Animal Science,Iowa State University,Ames,IA 50010,USA
  • 3. Animal Behaviour and Welfare Group,Department of Animal Science,Michigan State University,East Lansing 48824,USA
  • 4. Animal Behaviour and Welfare Group,Department of Animal Science,Michigan State University,East Lansing 48824,USA||Animal Behaviour and Welfare Group,Department of Computational Mathematics,Science and Engineering,Michigan State University,East Lansing 48824,USA
  • 5. Division of Measure,Model & Manage Bioresponses (M3-Biores),KU Leuven,Leuven 30001,Belgium
  • 折叠

摘要

Abstract

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.

关键词

群养猪/身份识别/注意力机制/特征融合/深度学习

Key words

group-housed pigs/identification/attention mechanism/feature fusion/deep learning

分类

计算机与自动化

引用本文复制引用

韩丁磊,陈晨,Steibel Juan,Siegford Janice,韩俊杰,王梦凡,徐雷钧,Norton Tomas..基于注意力机制与自适应特征融合的群养猪身份识别[J].软件导刊,2024,23(6):25-31,7.

基金项目

国家自然科学基金项目(32102598) (32102598)

USDA National Institute of Food and Agriculture Program(2017-67007-26176,2021-67021-34150) (2017-67007-26176,2021-67021-34150)

江苏省高等学校大学生创新创业训练计划项目(202210299122Y) (202210299122Y)

软件导刊

1672-7800

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