{"title":"Thermal imaging-based characterization of fruit bruising using deep learning: a cross-dataset evaluation study","authors":"Hidir Selcuk Nogay, Nalan Hakime Nogay","doi":"10.1007/s00217-026-05324-0","DOIUrl":null,"url":null,"abstract":"<div><p>Thermal imaging has emerged as an effective non-destructive technique for the measurement and characterization of internal quality defects in agricultural products. In this study, two thermal image datasets for bruise detection in apples and tomatoes are developed under controlled acquisition conditions, and their potential for thermal-based quality assessment is systematically investigated. The datasets are constructed using an active thermography approach combined with a multi-angle imaging protocol to capture temperature variations associated with tissue degradation. To evaluate the discriminative capability of the acquired thermal patterns, transfer learning-based deep learning models, including ResNet-18, MobileNetV2, and EfficientNet-B0, are employed as computational analysis tools. High classification performance is achieved under within-dataset evaluation, with accuracy exceeding 90%, confirming that thermal responses provide reliable indicators for bruise detection. To further assess the robustness of the measurement framework, cross-dataset experiments are conducted by applying models trained on one fruit type to another. The results reveal a substantial decrease in classification accuracy, ranging from 52.1% to 72.3% for Tomato→Apple and from 63.7% to 77.5% for Apple→Tomato, indicating strong dataset dependency and sensitivity to variations in fruit structure and thermal characteristics. Confusion matrix and ROC analyses demonstrate reduced discriminative capability under domain shift conditions and highlight systematic misclassification patterns. An asymmetric generalization behavior is also observed, suggesting that certain datasets exhibit more diverse and transferable thermal feature representations. These findings emphasize the limitations of current data-driven approaches in handling variability in thermal imaging-based characterization tasks. The proposed datasets and evaluation framework provide a reproducible benchmark for fruit bruise measurement and analysis, contributing to more robust non-destructive quality assessment.</p></div>","PeriodicalId":549,"journal":{"name":"European Food Research and Technology","volume":"252 10","pages":""},"PeriodicalIF":4.2000,"publicationDate":"2026-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"European Food Research and Technology","FirstCategoryId":"97","ListUrlMain":"https://link.springer.com/article/10.1007/s00217-026-05324-0","RegionNum":3,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"FOOD SCIENCE & TECHNOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
Thermal imaging has emerged as an effective non-destructive technique for the measurement and characterization of internal quality defects in agricultural products. In this study, two thermal image datasets for bruise detection in apples and tomatoes are developed under controlled acquisition conditions, and their potential for thermal-based quality assessment is systematically investigated. The datasets are constructed using an active thermography approach combined with a multi-angle imaging protocol to capture temperature variations associated with tissue degradation. To evaluate the discriminative capability of the acquired thermal patterns, transfer learning-based deep learning models, including ResNet-18, MobileNetV2, and EfficientNet-B0, are employed as computational analysis tools. High classification performance is achieved under within-dataset evaluation, with accuracy exceeding 90%, confirming that thermal responses provide reliable indicators for bruise detection. To further assess the robustness of the measurement framework, cross-dataset experiments are conducted by applying models trained on one fruit type to another. The results reveal a substantial decrease in classification accuracy, ranging from 52.1% to 72.3% for Tomato→Apple and from 63.7% to 77.5% for Apple→Tomato, indicating strong dataset dependency and sensitivity to variations in fruit structure and thermal characteristics. Confusion matrix and ROC analyses demonstrate reduced discriminative capability under domain shift conditions and highlight systematic misclassification patterns. An asymmetric generalization behavior is also observed, suggesting that certain datasets exhibit more diverse and transferable thermal feature representations. These findings emphasize the limitations of current data-driven approaches in handling variability in thermal imaging-based characterization tasks. The proposed datasets and evaluation framework provide a reproducible benchmark for fruit bruise measurement and analysis, contributing to more robust non-destructive quality assessment.
期刊介绍:
The journal European Food Research and Technology publishes state-of-the-art research papers and review articles on fundamental and applied food research. The journal''s mission is the fast publication of high quality papers on front-line research, newest techniques and on developing trends in the following sections:
-chemistry and biochemistry-
technology and molecular biotechnology-
nutritional chemistry and toxicology-
analytical and sensory methodologies-
food physics.
Out of the scope of the journal are:
- contributions which are not of international interest or do not have a substantial impact on food sciences,
- submissions which comprise merely data collections, based on the use of routine analytical or bacteriological methods,
- contributions reporting biological or functional effects without profound chemical and/or physical structure characterization of the compound(s) under research.