Detecting ear lesions in slaughtered pigs through open-source convolutional neural networks.

IF 3 2区 农林科学 Q1 VETERINARY SCIENCES
Matteo D'Angelo, Domenico Sciota, Anastasia Romano, Alfonso Rosamilia, Chiara Guarnieri, Chiara Cecchini, Alberto Olivastri, Giuseppe Marruchella
{"title":"Detecting ear lesions in slaughtered pigs through open-source convolutional neural networks.","authors":"Matteo D'Angelo, Domenico Sciota, Anastasia Romano, Alfonso Rosamilia, Chiara Guarnieri, Chiara Cecchini, Alberto Olivastri, Giuseppe Marruchella","doi":"10.1186/s40813-025-00442-9","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Ear biting is a damaging behavior of pigs, likely triggered by a genetic predisposition, previous health issues and/or poor environmental conditions. The accurate assessment of animal health and welfare relies on the systematic gathering of data about animals, resources and management. In this respect, slaughterhouse surveys offer valuable insights, as distinct tail and skin lesions can act as 'iceberg' parameters, suitable to estimate welfare during the entire animals' lifecycle. However, the routine recording of lesions is often costly and time-consuming, making it unfeasible in high-throughput abattoirs. This study aims to train open-source convolutional neural networks for detecting ear biting lesions in slaughtered pigs, as a pre-requisite for a systematic and cost-effective welfare monitoring.</p><p><strong>Results: </strong>A total of 3,140 pictures were employed to train and test open-source convolutional neural networks. Investigations were carried out by three veterinarians, who agreed to assess porcine ears using a simplified method, to minimize inter-observers' variability and to facilitate the convolutional neural networks' training: a) healthy auricles (label 0); deformed auricles displaying alterations in their contour due to real lesions (label 1); postmortem artefacts due to slaughtering (label 2). The entire dataset (training set and test set) was evaluated by one observer, while a supplementary set of 150 pictures was assessed by all veterinarians. Overall, the agreement among observers was very high (Cohen's kappa coefficient > 0.88). Moreover, convolutional neural networks' performances appeared suitable when compared with veterinarians: overall accuracy 0.89, specificity 0.96, sensitivity 0.86, agreement with each individual observer 0.79 (Cohen's kappa coefficient).</p><p><strong>Conclusions: </strong>Open-source convolutional neural networks can achieve good performances, especially when the task is strictly defined and rather easy. Valuable experiences are being gathered about the routine application of artificial intelligence-powered tools in pig abattoirs. We consider that such tools will likely enable the systematic collection of data, addressing the distinct needs of stakeholders in a cost-effective manner.</p>","PeriodicalId":20352,"journal":{"name":"Porcine Health Management","volume":"11 1","pages":"29"},"PeriodicalIF":3.0000,"publicationDate":"2025-05-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12102859/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Porcine Health Management","FirstCategoryId":"97","ListUrlMain":"https://doi.org/10.1186/s40813-025-00442-9","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"VETERINARY SCIENCES","Score":null,"Total":0}
引用次数: 0

Abstract

Background: Ear biting is a damaging behavior of pigs, likely triggered by a genetic predisposition, previous health issues and/or poor environmental conditions. The accurate assessment of animal health and welfare relies on the systematic gathering of data about animals, resources and management. In this respect, slaughterhouse surveys offer valuable insights, as distinct tail and skin lesions can act as 'iceberg' parameters, suitable to estimate welfare during the entire animals' lifecycle. However, the routine recording of lesions is often costly and time-consuming, making it unfeasible in high-throughput abattoirs. This study aims to train open-source convolutional neural networks for detecting ear biting lesions in slaughtered pigs, as a pre-requisite for a systematic and cost-effective welfare monitoring.

Results: A total of 3,140 pictures were employed to train and test open-source convolutional neural networks. Investigations were carried out by three veterinarians, who agreed to assess porcine ears using a simplified method, to minimize inter-observers' variability and to facilitate the convolutional neural networks' training: a) healthy auricles (label 0); deformed auricles displaying alterations in their contour due to real lesions (label 1); postmortem artefacts due to slaughtering (label 2). The entire dataset (training set and test set) was evaluated by one observer, while a supplementary set of 150 pictures was assessed by all veterinarians. Overall, the agreement among observers was very high (Cohen's kappa coefficient > 0.88). Moreover, convolutional neural networks' performances appeared suitable when compared with veterinarians: overall accuracy 0.89, specificity 0.96, sensitivity 0.86, agreement with each individual observer 0.79 (Cohen's kappa coefficient).

Conclusions: Open-source convolutional neural networks can achieve good performances, especially when the task is strictly defined and rather easy. Valuable experiences are being gathered about the routine application of artificial intelligence-powered tools in pig abattoirs. We consider that such tools will likely enable the systematic collection of data, addressing the distinct needs of stakeholders in a cost-effective manner.

利用开源卷积神经网络检测屠宰猪耳损。
背景:咬耳朵是猪的一种破坏性行为,可能由遗传易感性、以前的健康问题和/或恶劣的环境条件引发。对动物健康和福利的准确评估依赖于系统地收集有关动物、资源和管理的数据。在这方面,屠宰场调查提供了有价值的见解,因为明显的尾巴和皮肤损伤可以作为“冰山”参数,适用于估计动物整个生命周期的福利。然而,常规的病变记录往往是昂贵和耗时的,使其在高通量屠宰场不可行。本研究旨在训练开源卷积神经网络来检测屠宰猪的咬耳损伤,作为系统和经济有效的福利监测的先决条件。结果:总共使用了3140张图片来训练和测试开源卷积神经网络。调查由三名兽医进行,他们同意使用简化方法评估猪耳,以尽量减少观察者之间的差异,并促进卷积神经网络的训练:a)健康的耳廓(标签0);由于真实病变导致耳廓轮廓改变(标签1);屠宰产生的死后人工制品(标签2)。整个数据集(训练集和测试集)由一名观察员评估,而150张图片的补充集由所有兽医评估。总体而言,观察者之间的一致性非常高(Cohen's kappa系数>.88)。此外,与兽医相比,卷积神经网络的表现似乎很合适:总体准确性0.89,特异性0.96,灵敏度0.86,与每个观察者的一致性0.79(科恩kappa系数)。结论:开源卷积神经网络可以获得很好的性能,特别是在任务定义严格且相当简单的情况下。人工智能驱动的工具在养猪场的常规应用正在积累宝贵的经验。我们认为,这些工具将有可能系统地收集数据,以具有成本效益的方式解决利益相关者的不同需求。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Porcine Health Management
Porcine Health Management Veterinary-Food Animals
CiteScore
5.40
自引率
5.90%
发文量
49
审稿时长
14 weeks
期刊介绍: Porcine Health Management (PHM) is an open access peer-reviewed journal that aims to publish relevant, novel and revised information regarding all aspects of swine health medicine and production.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信