Suppr超能文献

在不同光照条件下使用目标检测模型确定猪的姿势和位置。

Determining the posture and location of pigs using an object detection model under different lighting conditions.

作者信息

Scaillierez Alice J, Izquierdo García-Faria Tomás, Broers Harry, van Nieuwamerongen-de Koning Sofie E, van der Tol Rik P P J, Bokkers Eddie A M, Boumans Iris J M M

机构信息

Animal Production Systems group, Wageningen University & Research, P.O. Box 338, 6700 AH Wageningen, The Netherlands.

Wageningen Livestock Research, Wageningen University & Research, P.O. Box 338, 6700 AH Wageningen, The Netherlands.

出版信息

Transl Anim Sci. 2024 Dec 3;8:txae167. doi: 10.1093/tas/txae167. eCollection 2024.

Abstract

Computer vision techniques are becoming increasingly popular for monitoring pig behavior. For instance, object detection models allow us to detect the presence of pigs, their location, and their posture. The performance of object detection models can be affected by variations in lighting conditions (e.g., intensity, spectrum, and uniformity). Furthermore, lighting conditions can influence pigs' active and resting behavior. In the context of experiments testing different lighting conditions, a detection model was developed to detect the location and postures of group-housed growing-finishing pigs. The objective of this paper is to validate the model developed using YOLOv8 detecting standing, sitting, sternal lying, and lateral lying pigs. Training, validation, and test datasets included annotation of pigs from 10 to 24 wk of age in 10 different light settings; varying in intensity, spectrum, and uniformity. Pig detection was comparable for the different lighting conditions, despite a slightly lower posture agreement for warm light and uneven light distribution, likely due to a less clear contrast between pigs and their background and the presence of shadows. The detection reached a mean average precision (mAP) of 89.4%. Standing was the best-detected posture with the highest precision, sensitivity, and F1 score, while the sensitivity and F1 score of sitting was the lowest. This lower performance resulted from confusion of sitting with sternal lying and standing, as a consequence of the top camera view and a low occurrence of sitting pigs in the annotated dataset. This issue is inherent to pig behavior and could be tackled using data augmentation. Some confusion was reported between types of lying due to occlusion by pen mates or pigs' own bodies, and grouping both types of lying postures resulted in an improvement in the detection (mAP = 97.0%). Therefore, comparing resting postures (both lying types) to active postures could lead to a more reliable interpretation of pigs' behavior. Some detection errors were observed, e.g., two detections for the same pig were generated due to posture uncertainty, dirt on cameras detected as a pig, and undetected pigs due to occlusion. The localization accuracy measured by the intersection over union was higher than 95.5% for 75% of the dataset, meaning that the location of predicted pigs was very close to annotated pigs. Tracking individual pigs revealed challenges with ID changes and switches between pen mates, requiring further work.

摘要

计算机视觉技术在监测猪的行为方面越来越受欢迎。例如,目标检测模型使我们能够检测猪的存在、位置和姿势。目标检测模型的性能可能会受到光照条件变化(如强度、光谱和均匀度)的影响。此外,光照条件会影响猪的活动和休息行为。在测试不同光照条件的实验背景下,开发了一种检测模型来检测群养生长育肥猪的位置和姿势。本文的目的是验证使用YOLOv8开发的用于检测站立、坐着、胸骨卧位和侧卧位猪的模型。训练、验证和测试数据集包括在10种不同光照设置下对10至24周龄猪的标注;光照强度、光谱和均匀度各不相同。尽管暖光和光线分布不均匀时姿势一致性略低,但不同光照条件下的猪检测效果相当,这可能是由于猪与其背景之间的对比度不太清晰以及存在阴影。检测的平均精度(mAP)达到了89.4%。站立是检测效果最好的姿势,具有最高的精度、灵敏度和F1分数,而坐姿的灵敏度和F1分数最低。这种较低的性能是由于从顶部摄像头视角以及标注数据集中坐姿猪出现频率低,导致坐姿与胸骨卧位和站立混淆所致。这个问题是猪行为所固有的,可以通过数据增强来解决。由于同栏伙伴或猪自身身体的遮挡,不同卧位类型之间存在一些混淆,将两种卧位姿势归为一组后检测效果有所改善(mAP = 97.0%)。因此,将休息姿势(两种卧位类型)与活动姿势进行比较可能会对猪的行为做出更可靠的解读。观察到一些检测错误,例如,由于姿势不确定、摄像头污垢被检测为猪以及由于遮挡导致猪未被检测到,同一头猪会产生两次检测结果。对于75%的数据集,通过交并比测量的定位准确率高于95.5%,这意味着预测猪的位置与标注猪的位置非常接近。跟踪个体猪发现了ID变化和同栏伙伴之间切换的挑战,需要进一步开展工作。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/4115/11635830/8f03e476b935/txae167_fig1.jpg

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验