Analysis of pig posture detection in group-housed pigs using deep learning-based mask scoring instance segmentation

IF 1.7 3区 农林科学 Q2 AGRICULTURE, DAIRY & ANIMAL SCIENCE Animal Science Journal Pub Date : 2024-07-15 DOI:10.1111/asj.13975
Salam Jayachitra Devi, Juwar Doley, Jaya Bharati, N. H. Mohan, Vivek Kumar Gupta
{"title":"Analysis of pig posture detection in group-housed pigs using deep learning-based mask scoring instance segmentation","authors":"Salam Jayachitra Devi,&nbsp;Juwar Doley,&nbsp;Jaya Bharati,&nbsp;N. H. Mohan,&nbsp;Vivek Kumar Gupta","doi":"10.1111/asj.13975","DOIUrl":null,"url":null,"abstract":"<p>Pig posture is closely linked with livestock health and welfare. There has been significant interest among researchers in using deep learning techniques for pig posture detection. However, this task is challenging due to variations in image angles and times, as well as the presence of multiple pigs in a single image. In this study, we explore an object detection and segmentation algorithm based on instance segmentation scoring to detect different pig postures (sternal lying, lateral lying, walking, and sitting) and segment pig areas in group images, thereby enabling the identification of individual pig postures within a group. The algorithm combines a residual network with 50 layers and a feature pyramid network to extract feature maps from input images. These feature maps are then used to generate regions of interest (RoI) using a region candidate network. For each RoI, the algorithm performs regression to determine the location, classification, and segmentation of each pig posture. To address challenges such as missing targets and error detections among overlapping pigs in group housing, non-maximum suppression (NMS) is used with a threshold of 0.7. Through extensive hyperparameter analysis, a learning rate of 0.01, a batch size of 512, and 4 images per batch offer superior performance, with accuracy surpassing 96%. Similarly, the mean average precision (mAP) exceeds 83% for object detection and instance segmentation under these settings. Additionally, we compare the method with the faster R-CNN object detection model. Further, execution times on different processing units considering various hyperparameters and iterations have been analyzed.</p>","PeriodicalId":7890,"journal":{"name":"Animal Science Journal","volume":null,"pages":null},"PeriodicalIF":1.7000,"publicationDate":"2024-07-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Animal Science Journal","FirstCategoryId":"97","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1111/asj.13975","RegionNum":3,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"AGRICULTURE, DAIRY & ANIMAL SCIENCE","Score":null,"Total":0}
引用次数: 0

Abstract

Pig posture is closely linked with livestock health and welfare. There has been significant interest among researchers in using deep learning techniques for pig posture detection. However, this task is challenging due to variations in image angles and times, as well as the presence of multiple pigs in a single image. In this study, we explore an object detection and segmentation algorithm based on instance segmentation scoring to detect different pig postures (sternal lying, lateral lying, walking, and sitting) and segment pig areas in group images, thereby enabling the identification of individual pig postures within a group. The algorithm combines a residual network with 50 layers and a feature pyramid network to extract feature maps from input images. These feature maps are then used to generate regions of interest (RoI) using a region candidate network. For each RoI, the algorithm performs regression to determine the location, classification, and segmentation of each pig posture. To address challenges such as missing targets and error detections among overlapping pigs in group housing, non-maximum suppression (NMS) is used with a threshold of 0.7. Through extensive hyperparameter analysis, a learning rate of 0.01, a batch size of 512, and 4 images per batch offer superior performance, with accuracy surpassing 96%. Similarly, the mean average precision (mAP) exceeds 83% for object detection and instance segmentation under these settings. Additionally, we compare the method with the faster R-CNN object detection model. Further, execution times on different processing units considering various hyperparameters and iterations have been analyzed.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
利用基于深度学习的掩码评分实例分割技术,分析群居猪的姿态检测。
猪的姿态与牲畜的健康和福利密切相关。研究人员对使用深度学习技术检测猪的姿态兴趣浓厚。然而,由于图像角度和时间的变化,以及单张图像中存在多头猪,这项任务具有挑战性。在本研究中,我们探索了一种基于实例分割评分的对象检测和分割算法,以检测不同的猪姿态(胸骨卧姿、侧卧、行走和坐姿),并分割群组图像中的猪区域,从而实现对群组中单个猪姿态的识别。该算法结合了一个 50 层的残差网络和一个特征金字塔网络,从输入图像中提取特征图。然后使用区域候选网络将这些特征图用于生成感兴趣区域(RoI)。对于每个感兴趣区域,算法都会执行回归,以确定每个猪姿态的位置、分类和分割。为了应对目标缺失和群居猪重叠检测错误等挑战,使用了阈值为 0.7 的非最大抑制 (NMS)。通过广泛的超参数分析,学习率为 0.01、批量大小为 512、每批 4 幅图像的性能优越,准确率超过 96%。同样,在这些设置下,物体检测和实例分割的平均精度(mAP)也超过了 83%。此外,我们还将该方法与速度更快的 R-CNN 物体检测模型进行了比较。此外,我们还分析了不同超参数和迭代在不同处理单元上的执行时间。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Animal Science Journal
Animal Science Journal 生物-奶制品与动物科学
CiteScore
3.80
自引率
5.00%
发文量
111
审稿时长
1 months
期刊介绍: Animal Science Journal (a continuation of Animal Science and Technology) is the official journal of the Japanese Society of Animal Science (JSAS) and publishes Original Research Articles (full papers and rapid communications) in English in all fields of animal and poultry science: genetics and breeding, genetic engineering, reproduction, embryo manipulation, nutrition, feeds and feeding, physiology, anatomy, environment and behavior, animal products (milk, meat, eggs and their by-products) and their processing, and livestock economics. Animal Science Journal will invite Review Articles in consultations with Editors. Submission to the Journal is open to those who are interested in animal science.
期刊最新文献
Comparison of nutrient supply from the dam to fetus and placental development in Holstein and Japanese black cows pregnant with similar or different fetus breeds Genetic polymorphisms of calpain1 and calpain3 genes and their effects on growth, carcass, and meat quality traits in Betong chicken (KU line) Analysis of the relationship between energy balance and properties of rumen fermentation of primiparous dairy cows during the perinatal period Effects of pre-heating of broiler breeder's eggs on hatchability, chick quality, overall performance, and welfare traits in broilers Genome-wide association study for conformation traits in Ayrshire cattle
×
引用
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