A computer vision image differential approach for automatic detection of aggressive behavior in pigs using deep learning

卷积神经网络 人工智能 联营 模式识别(心理学) 深度学习 计算机科学 辍学(神经网络) 图像(数学) 乙状窦函数 机器学习 人工神经网络
作者
Jasmine Fraser,Harry Aricibasi,Dan Tulpan,Renée Bergeron
出处
期刊:Journal of Animal Science [Oxford University Press]
卷期号:101
标识
DOI:10.1093/jas/skad347
摘要

Abstract Pig aggression is a major problem facing the industry as it negatively affects both the welfare and the productivity of group-housed pigs. This study aimed to use a supervised deep learning (DL) approach based on a convolutional neural network (CNN) and image differential to automatically detect aggressive behaviors in pairs of pigs. Different pairs of unfamiliar piglets (N = 32) were placed into one of the two observation pens for 3 d, where they were video recorded each day for 1 h following mixing, resulting in 16 h of video recordings of which 1.25 h were selected for modeling. Four different approaches based on the number of frames skipped (1, 5, or 10 for Diff1, Diff5, and Diff10, respectively) and the amalgamation of multiple image differences into one (blended) were used to create four different datasets. Two CNN models were tested, with architectures based on the Visual Geometry Group (VGG) VGG-16 model architecture, consisting of convolutional layers, max-pooling layers, dense layers, and dropout layers. While both models had similar architectures, the second CNN model included stacked convolutional layers. Nine different sigmoid activation function thresholds between 0.1 and 1.0 were evaluated and a 0.5 threshold was selected to be used for testing. The stacked CNN model correctly predicted aggressive behaviors with the highest testing accuracy (0.79), precision (0.81), recall (0.77), and area under the curve (0.86) values. When analyzing the model recall for behavior subtypes prediction, mounting and mobile non-aggressive behaviors were the hardest to classify (recall = 0.63 and 0.75), while head biting, immobile, and parallel pressing were easy to classify (recall = 0.95, 0.94, and 0.91). Runtimes were also analyzed with the blended dataset, taking four times less time to train and validate than the Diff1, Diff5, and Diff10 datasets. Preprocessing time was reduced by up to 2.3 times in the blended dataset compared to the other datasets and, when combined with testing runtimes, it satisfied the requirements for real-time systems capable of detecting aggressive behavior in pairs of pigs. Overall, these results show that using a CNN and image differential-based deep learning approach can be an effective and computationally efficient technique to automatically detect aggressive behaviors in pigs.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
修仙中应助阔达烨华采纳,获得10
1秒前
114514完成签到,获得积分10
3秒前
顾矜应助biochen采纳,获得10
3秒前
3秒前
星星泡饭完成签到 ,获得积分10
3秒前
4秒前
4秒前
HJJHJH发布了新的文献求助30
4秒前
5秒前
冰镇麻辣烫完成签到,获得积分20
6秒前
7秒前
7秒前
小陈发布了新的文献求助10
9秒前
516完成签到,获得积分10
10秒前
研友_VZG7GZ应助小叶子采纳,获得10
10秒前
10秒前
泽灵发布了新的文献求助10
10秒前
蛋蛋发布了新的文献求助10
11秒前
YLC完成签到,获得积分10
11秒前
共享精神应助zhong241采纳,获得10
12秒前
你的长夏完成签到 ,获得积分20
12秒前
凉冰完成签到 ,获得积分10
14秒前
HJJHJH发布了新的文献求助30
16秒前
泽灵完成签到,获得积分10
16秒前
烟花应助梅子黄时雨采纳,获得10
17秒前
18秒前
18秒前
和谐的聪展完成签到,获得积分10
19秒前
Xee完成签到,获得积分10
19秒前
20秒前
Pedro发布了新的文献求助10
20秒前
21秒前
Ava应助baocq采纳,获得10
23秒前
justin123关注了科研通微信公众号
24秒前
风信子发布了新的文献求助10
24秒前
David发布了新的文献求助10
24秒前
25秒前
小叶子发布了新的文献求助10
25秒前
JamesPei应助HJJHJH采纳,获得10
25秒前
斯文败类应助聪明甜桃采纳,获得10
26秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Encyclopedia of Cardiovascular Research and Medicine(2e) 820
自動車の空力技術 800
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 800
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 化学工程 工程类 有机化学 物理 复合材料 生物化学 内科学 细胞生物学 基因 遗传学 免疫学 冶金 光电子学 癌症研究
热门帖子
关注 科研通微信公众号,转发送积分 7781791
求助须知:如何正确求助?哪些是违规求助? 9321380
关于积分的说明 20382762
捐赠科研通 7369589
什么是DOI,文献DOI怎么找? 3320111
关于科研通互助平台的介绍 2467955
邀请新用户注册赠送积分活动 2336034