Matteo D'Angelo, Domenico Sciota, Anastasia Romano, Alfonso Rosamilia, Chiara Guarnieri, Chiara Cecchini, Alberto Olivastri, Giuseppe Marruchella
{"title":"利用开源卷积神经网络检测屠宰猪耳损。","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":"{\"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}","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}
Detecting ear lesions in slaughtered pigs through open-source convolutional neural networks.
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.
期刊介绍:
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.