Natalia Hernansanz-Luque , Ana M. Pérez-Calabuig , Sandra Pradana-López , John C. Cancilla , José S. Torrecilla
{"title":"Real-time screening of melamine in coffee capsules using infrared thermography and deep learning","authors":"Natalia Hernansanz-Luque , Ana M. Pérez-Calabuig , Sandra Pradana-López , John C. Cancilla , José S. Torrecilla","doi":"10.1016/j.jfoodeng.2025.112675","DOIUrl":null,"url":null,"abstract":"<div><div>Food adulteration is a major concern in the food industry, particularly in widely consumed products such as coffee. This study presents a novel non-destructive approach for detecting melamine contamination in coffee capsules using infrared thermography (IRT) and convolutional neural networks (CNNs). Coffee samples (natural, blended, and decaffeinated) with different coffee-to-milk ratios (1:3, 1:1, and 3:1) were adulterated with melamine at 2.5, 5, and 7.5 ppm. A dataset of 24,296 thermographic images was analyzed using ResNet34, achieving a classification accuracy of 95.71 % in blind validation. Compared to conventional chemical methods, this approach is faster, cost-effective, and scalable, making it a valuable tool for real-time food safety screening. The proposed method offers a non-invasive and rapid alternative to conventional analytical techniques such as High-Performance Liquid Chromatography (HPLC) and Mass Spectrometry (MS), making it highly suitable for real-time quality control in the food industry.</div></div>","PeriodicalId":359,"journal":{"name":"Journal of Food Engineering","volume":"402 ","pages":"Article 112675"},"PeriodicalIF":5.3000,"publicationDate":"2025-05-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Food Engineering","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0260877425002109","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, CHEMICAL","Score":null,"Total":0}
引用次数: 0
Abstract
Food adulteration is a major concern in the food industry, particularly in widely consumed products such as coffee. This study presents a novel non-destructive approach for detecting melamine contamination in coffee capsules using infrared thermography (IRT) and convolutional neural networks (CNNs). Coffee samples (natural, blended, and decaffeinated) with different coffee-to-milk ratios (1:3, 1:1, and 3:1) were adulterated with melamine at 2.5, 5, and 7.5 ppm. A dataset of 24,296 thermographic images was analyzed using ResNet34, achieving a classification accuracy of 95.71 % in blind validation. Compared to conventional chemical methods, this approach is faster, cost-effective, and scalable, making it a valuable tool for real-time food safety screening. The proposed method offers a non-invasive and rapid alternative to conventional analytical techniques such as High-Performance Liquid Chromatography (HPLC) and Mass Spectrometry (MS), making it highly suitable for real-time quality control in the food industry.
期刊介绍:
The journal publishes original research and review papers on any subject at the interface between food and engineering, particularly those of relevance to industry, including:
Engineering properties of foods, food physics and physical chemistry; processing, measurement, control, packaging, storage and distribution; engineering aspects of the design and production of novel foods and of food service and catering; design and operation of food processes, plant and equipment; economics of food engineering, including the economics of alternative processes.
Accounts of food engineering achievements are of particular value.