Daniel Hjorth Lund , Lis Alban , Claus Hansen , Anders Dalsgaard , Matt Denwood , Abbey Olsen
{"title":"利用潜在类模型评价猪胴体污染计算机视觉系统的性能","authors":"Daniel Hjorth Lund , Lis Alban , Claus Hansen , Anders Dalsgaard , Matt Denwood , Abbey Olsen","doi":"10.1016/j.prevetmed.2025.106556","DOIUrl":null,"url":null,"abstract":"<div><div>This study evaluates the performance of a computer vision system (CVS) for measuring pig carcass contamination using latent class modelling, a statistical approach that does not depend on a gold standard. Developed by the Danish Technological Institute, the CVS integrates output from various cameras to inspect pig carcasses for presence of faecal contamination. Data from a 16-day period involving 69,215 carcasses were analysed, comparing CVS results with those from official auxiliaries. Descriptive analyses identified four meat inspection findings that were statistically associated with an increased relative risk of positives from the CVS, particularly oil contamination (RR = 4.1, P < 0.001), which the CVS could not differentiate from faecal contamination. Agreement between the CVS and official auxiliary was assessed using Cohen’s kappa and prevalence- and bias-adjusted kappa (PABAK), with Cohen’s Kappa indicating minimal agreement (κ = 0.17) and PABAK indicating moderate agreement (κ = 0.79). Sensitivity and specificity were estimated using a latent class model fit within a Bayesian framework, without assuming that either the CVS or official auxiliaries were perfect tests. The latent class model showed that the CVS had a median sensitivity of 31.6 % (95 % CI: 27.6 %-39.1 %) and specificity of 97.9 % (95 % CI: 96.1–99.9 %), compared to 22 % (95 % CI: 17.6 %-28.9 %) sensitivity and 99 % (95 % CI: 98.2 %-100 %) specificity for the official auxiliaries. These findings underscore the CVS’s strength in detecting true contaminations and official auxiliaries’ ability to rule out non-contaminations. This study demonstrates the applicability of latent class modelling for evaluating CVS, offering a flexible and reliable framework that addresses the limitations of traditional gold standard methods. The findings support the use CVS technology alongside traditional inspections to enhance food safety, paving the way for future integration of CVS in meat inspection, pending legislative adjustments.</div></div>","PeriodicalId":20413,"journal":{"name":"Preventive veterinary medicine","volume":"241 ","pages":"Article 106556"},"PeriodicalIF":2.2000,"publicationDate":"2025-05-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Using latent class modelling to evaluate the performance of a computer vision system for pig carcass contamination\",\"authors\":\"Daniel Hjorth Lund , Lis Alban , Claus Hansen , Anders Dalsgaard , Matt Denwood , Abbey Olsen\",\"doi\":\"10.1016/j.prevetmed.2025.106556\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>This study evaluates the performance of a computer vision system (CVS) for measuring pig carcass contamination using latent class modelling, a statistical approach that does not depend on a gold standard. Developed by the Danish Technological Institute, the CVS integrates output from various cameras to inspect pig carcasses for presence of faecal contamination. Data from a 16-day period involving 69,215 carcasses were analysed, comparing CVS results with those from official auxiliaries. Descriptive analyses identified four meat inspection findings that were statistically associated with an increased relative risk of positives from the CVS, particularly oil contamination (RR = 4.1, P < 0.001), which the CVS could not differentiate from faecal contamination. Agreement between the CVS and official auxiliary was assessed using Cohen’s kappa and prevalence- and bias-adjusted kappa (PABAK), with Cohen’s Kappa indicating minimal agreement (κ = 0.17) and PABAK indicating moderate agreement (κ = 0.79). Sensitivity and specificity were estimated using a latent class model fit within a Bayesian framework, without assuming that either the CVS or official auxiliaries were perfect tests. The latent class model showed that the CVS had a median sensitivity of 31.6 % (95 % CI: 27.6 %-39.1 %) and specificity of 97.9 % (95 % CI: 96.1–99.9 %), compared to 22 % (95 % CI: 17.6 %-28.9 %) sensitivity and 99 % (95 % CI: 98.2 %-100 %) specificity for the official auxiliaries. These findings underscore the CVS’s strength in detecting true contaminations and official auxiliaries’ ability to rule out non-contaminations. This study demonstrates the applicability of latent class modelling for evaluating CVS, offering a flexible and reliable framework that addresses the limitations of traditional gold standard methods. The findings support the use CVS technology alongside traditional inspections to enhance food safety, paving the way for future integration of CVS in meat inspection, pending legislative adjustments.</div></div>\",\"PeriodicalId\":20413,\"journal\":{\"name\":\"Preventive veterinary medicine\",\"volume\":\"241 \",\"pages\":\"Article 106556\"},\"PeriodicalIF\":2.2000,\"publicationDate\":\"2025-05-04\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Preventive veterinary medicine\",\"FirstCategoryId\":\"97\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0167587725001412\",\"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":"Preventive veterinary medicine","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0167587725001412","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"VETERINARY SCIENCES","Score":null,"Total":0}
Using latent class modelling to evaluate the performance of a computer vision system for pig carcass contamination
This study evaluates the performance of a computer vision system (CVS) for measuring pig carcass contamination using latent class modelling, a statistical approach that does not depend on a gold standard. Developed by the Danish Technological Institute, the CVS integrates output from various cameras to inspect pig carcasses for presence of faecal contamination. Data from a 16-day period involving 69,215 carcasses were analysed, comparing CVS results with those from official auxiliaries. Descriptive analyses identified four meat inspection findings that were statistically associated with an increased relative risk of positives from the CVS, particularly oil contamination (RR = 4.1, P < 0.001), which the CVS could not differentiate from faecal contamination. Agreement between the CVS and official auxiliary was assessed using Cohen’s kappa and prevalence- and bias-adjusted kappa (PABAK), with Cohen’s Kappa indicating minimal agreement (κ = 0.17) and PABAK indicating moderate agreement (κ = 0.79). Sensitivity and specificity were estimated using a latent class model fit within a Bayesian framework, without assuming that either the CVS or official auxiliaries were perfect tests. The latent class model showed that the CVS had a median sensitivity of 31.6 % (95 % CI: 27.6 %-39.1 %) and specificity of 97.9 % (95 % CI: 96.1–99.9 %), compared to 22 % (95 % CI: 17.6 %-28.9 %) sensitivity and 99 % (95 % CI: 98.2 %-100 %) specificity for the official auxiliaries. These findings underscore the CVS’s strength in detecting true contaminations and official auxiliaries’ ability to rule out non-contaminations. This study demonstrates the applicability of latent class modelling for evaluating CVS, offering a flexible and reliable framework that addresses the limitations of traditional gold standard methods. The findings support the use CVS technology alongside traditional inspections to enhance food safety, paving the way for future integration of CVS in meat inspection, pending legislative adjustments.
期刊介绍:
Preventive Veterinary Medicine is one of the leading international resources for scientific reports on animal health programs and preventive veterinary medicine. The journal follows the guidelines for standardizing and strengthening the reporting of biomedical research which are available from the CONSORT, MOOSE, PRISMA, REFLECT, STARD, and STROBE statements. The journal focuses on:
Epidemiology of health events relevant to domestic and wild animals;
Economic impacts of epidemic and endemic animal and zoonotic diseases;
Latest methods and approaches in veterinary epidemiology;
Disease and infection control or eradication measures;
The "One Health" concept and the relationships between veterinary medicine, human health, animal-production systems, and the environment;
Development of new techniques in surveillance systems and diagnosis;
Evaluation and control of diseases in animal populations.