Packaged fresh-cut lettuce is widely consumed as a major component of vegetable salad owing to its high nutrition, freshness, and convenience. However, enzymatic browning discoloration on lettuce cut edges significantly reduces product quality and shelf life. While there are many research and breeding efforts underway to minimize browning, the progress is hindered by the lack of a rapid and reliable methodology to evaluate browning. Current methods to identify and quantify browning are either too subjective, labor intensive, or inaccurate. In this paper, we report a deep learning model for lettuce browning prediction. To the best of our knowledge, it is the first-of-its-kind on deep learning for lettuce browning prediction using a pretrained Siamese Quadratic Swin (SQ-Swin) transformer with several highlights. First, our model includes quadratic features in the transformer model which is more powerful to incorporate real-world representations than the linear transformer. Second, a multi-scale training strategy is proposed to augment the data and explore more of the inherent self-similarity of the lettuce images. Third, the proposed model uses a siamese architecture which learns the inter-relations among the limited training samples. Fourth, the model is pretrained on the ImageNet and then trained with the reptile meta-learning algorithm to learn higher-order gradients than a regular one. Experiment results on the fresh-cut lettuce datasets show that the proposed SQ-Swin outperforms the traditional methods and other deep learning-based backbones.
翻译:由于营养、新鲜和方便,包装的新鲜生菜素被广泛用作蔬菜沙拉的主要成分。然而,由于营养、新鲜和方便,在生菜切削的边缘上,酶褐色变色会大大降低产品质量和保存寿命。虽然正在进行许多研究和育种努力以尽量减少褐色,但由于缺乏快速和可靠的评估褐色的方法,进展受到阻碍。目前查明和量化褐色的方法过于主观、劳动密集或不准确。本文报告了一个生菜预测的深层次学习模型。根据我们的最佳知识,它是利用预先训练的Siame QQ-Swin(SQ-Swin)变形器深入学习生菜色色色预测的首种。首先,我们的模型包括变色模型中的四边特征,它比线性变异变异器更强大。第二,我们提出了一个多层次培训战略,以扩大数据,并探索更深层褐色图像内在的自我相似性。根据我们的最佳知识,它是利用预先训练的Samerial Strial Sliversal Seria 进行深层次的学习。第三,在经过训练的模型和经过训练的模型中学习的另一种结构中,在经过训练的模型中学习的另一种结构中学习了一种不同的结构中学习。