Combining transfer learning and hyperspectral imaging to identify bruises of pears across different bruise types

J Food Sci. 2024 Apr 1. doi: 10.1111/1750-3841.17050. Online ahead of print.

Abstract

Mechanical bruise is one of the most crucial factors affecting the quality of pears, which has a huge influence on postharvest transportation, storage, and sale of pears. To rapidly detect early bruises of pears across different bruise types, hyperspectral imaging technology coupled with transfer learning methods was performed in this study. Two transfer learning methods, that is, transfer component analysis (TCA) and manifold embedded distribution alignment (MEDA), were applied for two tasks (impact bruise → crush bruise, crush bruise → impact bruise). Supporting vector machine (SVM) was set as a baseline to conduct analysis and comparison of the transferability of the models. The result showed that, for task 1 (impact bruise → crush bruise), MEDA and TCA-SVM model achieved a classification accuracy of 93.33% and 91.11% in target domain, individually. For task 2 (crush bruise →impact bruise), MEDA and TCA-SVM model achieved an accuracy of 88.89% and 85.19% in target domain, respectively. Both the two models improved the accuracy compared with SVM models (84.44% for task 1; 77.04% for task 2). Overall, the results indicated that transfer learning approaches could perform pear bruise detection across different bruise types. Hyperspectral imaging in combination with transfer learning methods is a promising possibility for the efficient and cost-saving field detection of fruit bruises among different bruise types. PRACTICAL APPLICATION: The production and export of pears are faced with problems of mechanical damage due to vibration, collision, impact, and other factors, which cause chemical changes in color, odor, and taste. Sometimes the bruise was too slight to be ignored which would infect with other fruits in the future. In this study, we used hyperspectral imaging combined with transfer learning method could detect these slight bruises caused by different factors. Distinguishing different types of damage can provide a reference for quick judgment of the process causing damage and take prompt measures to reduce economic losses.

Keywords: different bruise types; early bruise detection; hyperspectral imaging; pear; transfer learning.