Monitoring the lactation-related behaviors of sows and their piglets in farrowing crates using deep learning

IF 2.1 Q1 AGRICULTURE, DAIRY & ANIMAL SCIENCE Frontiers in animal science Pub Date : 2024-07-22 DOI:10.3389/fanim.2024.1431285
Yu-Jung Tsai, Yi-Che Huang, En-Chung Lin, Sheng-Chieh Lai, Xu-Chu Hong, Jonas Tsai, Cheng-En Chiang, Yan-Fu Kuo
{"title":"Monitoring the lactation-related behaviors of sows and their piglets in farrowing crates using deep learning","authors":"Yu-Jung Tsai, Yi-Che Huang, En-Chung Lin, Sheng-Chieh Lai, Xu-Chu Hong, Jonas Tsai, Cheng-En Chiang, Yan-Fu Kuo","doi":"10.3389/fanim.2024.1431285","DOIUrl":null,"url":null,"abstract":"Pig farming is a major sector of livestock production. The preweaning stage is a critical period in the pig farming process, where lactation-related behaviors between sows and their piglets directly influence the preweaning survivability of the piglets. Lactation-related behaviors are mutual interactions that require the combined monitoring of both the sow and her piglets. Conventional naked-eye observation is discontinuous and labor-intensive and may result in undetected abnormal behavior and economic losses. Thus, this study proposed to monitor the lactation-related behaviors of sows and their piglets simultaneously and continuously using computer vision. Videos were recorded from farrowing crates using embedded systems equipped with regular RGB cameras. The sow posture recognition model (SPRM), comprising a convolutional neural network (CNN) of the architecture EfficientNet and a long short-term memory network, was trained to identify seven postures of sows. The piglet localization and tracking model (PLTM), comprising a CNN of the architecture YOLOv7 and a simple online and realtime tracking algorithm, was trained to localize and track piglets in the farrowing crate. The sow posture information was then combined with the piglet activity to detect unfed piglets. The trained SPRM and PLTM reached an accuracy of 91.36% and a multiple object tracking accuracy of 94.6%. The performance of the proposed unfed piglet detection achieved a precision of 98.4% and a recall of 90.7%. A long-term experiment was conducted to monitor lactation-related behaviors of sows and their piglets from the birth of the piglets to day 15. The overall mean daily percentages ± standard deviations (SDs) of sow postures were 6.8% ± 2.9% for feeding, 8.8% ± 6.6% for standing, 11.8% ± 4.5% for sitting, 20.6% ± 16.3% for recumbency, 14.1% ± 6.5% for lying, and 38.1% ± 7.5% for lactating. The overall mean daily percentages ± SDs of piglet activities were 38.1% ± 7.5% for suckling, 22.2% ± 5.4% for active, and 39.7% ± 10.5% for rest. The proposed approach provides a total solution for the automatic monitoring of sows and their piglets in the farrowing house. This automatic detection of abnormal lactation-related behaviors can help in preventing piglet preweaning mortality and therefore aid pig farming efficiency.","PeriodicalId":73064,"journal":{"name":"Frontiers in animal science","volume":null,"pages":null},"PeriodicalIF":2.1000,"publicationDate":"2024-07-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Frontiers in animal science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3389/fanim.2024.1431285","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, DAIRY & ANIMAL SCIENCE","Score":null,"Total":0}
引用次数: 0

Abstract

Pig farming is a major sector of livestock production. The preweaning stage is a critical period in the pig farming process, where lactation-related behaviors between sows and their piglets directly influence the preweaning survivability of the piglets. Lactation-related behaviors are mutual interactions that require the combined monitoring of both the sow and her piglets. Conventional naked-eye observation is discontinuous and labor-intensive and may result in undetected abnormal behavior and economic losses. Thus, this study proposed to monitor the lactation-related behaviors of sows and their piglets simultaneously and continuously using computer vision. Videos were recorded from farrowing crates using embedded systems equipped with regular RGB cameras. The sow posture recognition model (SPRM), comprising a convolutional neural network (CNN) of the architecture EfficientNet and a long short-term memory network, was trained to identify seven postures of sows. The piglet localization and tracking model (PLTM), comprising a CNN of the architecture YOLOv7 and a simple online and realtime tracking algorithm, was trained to localize and track piglets in the farrowing crate. The sow posture information was then combined with the piglet activity to detect unfed piglets. The trained SPRM and PLTM reached an accuracy of 91.36% and a multiple object tracking accuracy of 94.6%. The performance of the proposed unfed piglet detection achieved a precision of 98.4% and a recall of 90.7%. A long-term experiment was conducted to monitor lactation-related behaviors of sows and their piglets from the birth of the piglets to day 15. The overall mean daily percentages ± standard deviations (SDs) of sow postures were 6.8% ± 2.9% for feeding, 8.8% ± 6.6% for standing, 11.8% ± 4.5% for sitting, 20.6% ± 16.3% for recumbency, 14.1% ± 6.5% for lying, and 38.1% ± 7.5% for lactating. The overall mean daily percentages ± SDs of piglet activities were 38.1% ± 7.5% for suckling, 22.2% ± 5.4% for active, and 39.7% ± 10.5% for rest. The proposed approach provides a total solution for the automatic monitoring of sows and their piglets in the farrowing house. This automatic detection of abnormal lactation-related behaviors can help in preventing piglet preweaning mortality and therefore aid pig farming efficiency.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
利用深度学习监控产仔箱中母猪及其仔猪的哺乳相关行为
养猪业是畜牧业生产的一个主要部门。断奶前阶段是养猪过程中的关键时期,母猪与仔猪之间与哺乳有关的行为直接影响仔猪断奶前的存活率。哺乳相关行为是一种相互影响的行为,需要对母猪和仔猪进行综合监控。传统的肉眼观察既不连续又耗费人力,可能会导致异常行为未被发现,造成经济损失。因此,本研究建议利用计算机视觉技术同时、连续地监控母猪及其仔猪的哺乳相关行为。使用配备普通 RGB 摄像机的嵌入式系统从产仔箱录制视频。母猪姿态识别模型(SPRM)由 EfficientNet 架构的卷积神经网络(CNN)和长短期记忆网络组成,经过训练可识别母猪的七种姿态。仔猪定位和跟踪模型(PLTM)由 YOLOv7 架构的卷积神经网络和简单的在线实时跟踪算法组成,用于定位和跟踪产仔箱中的仔猪。然后将母猪姿态信息与仔猪活动结合起来,检测未喂食的仔猪。经过训练的 SPRM 和 PLTM 的准确率达到 91.36%,多目标跟踪准确率达到 94.6%。拟议的未吃奶仔猪检测精确度达到 98.4%,召回率达到 90.7%。我们进行了一项长期实验,监测母猪及其仔猪从出生到第 15 天的哺乳期相关行为。母猪采食姿势的日均百分比(± 标准差)分别为 6.8% ± 2.9%(采食)、8.8% ± 6.6%(站立)、11.8% ± 4.5%(坐姿)、20.6% ± 16.3%(卧姿)、14.1% ± 6.5%(卧姿)和 38.1% ± 7.5%(哺乳)。仔猪每日活动的总体平均百分比(± SD)为:哺乳(38.1% ± 7.5%)、活动(22.2% ± 5.4%)和休息(39.7% ± 10.5%)。所提出的方法为自动监测产房内的母猪及其仔猪提供了整体解决方案。这种自动检测哺乳期异常行为的方法有助于防止仔猪断奶前死亡,从而提高养猪业的效率。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
CiteScore
2.30
自引率
0.00%
发文量
0
审稿时长
13 weeks
期刊最新文献
Monitoring the lactation-related behaviors of sows and their piglets in farrowing crates using deep learning Availability, distribution and quality of agro-industrial byproducts and compound feeds in Ethiopia The science of snacks: a review of dog treats Lipopolysaccharide-induced alterations in the liver metabolome of St. Croix and Suffolk sheep Brief research report: the evolution of animal welfare legislation for pigs in 13 EU member states, 1991-2020
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1