Treepong Panisa, Theera-Ampornpunt Nawanol
College of Computing, Prince of Songkla University, Phuket, Thailand.
Curr Res Food Sci. 2023 Aug 22;7:100574. doi: 10.1016/j.crfs.2023.100574. eCollection 2023.
Mold on bread in the early stages of growth is difficult to discern with the naked eye. Visual inspection and expiration dates are imprecise approaches that consumers rely on to detect bread spoilage. Existing methods for detecting microbial contamination, such as inspection through a microscope and hyperspectral imaging, are unsuitable for consumer use. This paper proposes a novel early bread mold detection method through microscopic images taken using clip-on lenses. These low-cost lenses are used together with a smartphone to capture images of bread at 50× magnification. The microscopic images are automatically classified using state-of-the-art convolutional neural networks (CNNs) with transfer learning. We extensively compared image preprocessing methods, CNN models, and data augmentation methods to determine the best configuration in terms of classification accuracy. The top models achieved near-perfect scores of 0.9948 for white sandwich bread and 0.9972 for whole wheat bread.
面包在生长初期的霉菌很难用肉眼辨别。目视检查和保质期是消费者用来检测面包变质的不精确方法。现有的检测微生物污染的方法,如显微镜检查和高光谱成像,不适合消费者使用。本文提出了一种通过使用夹式镜头拍摄的微观图像来检测面包早期霉菌的新方法。这些低成本镜头与智能手机一起使用,以50倍放大率拍摄面包图像。利用具有迁移学习的先进卷积神经网络(CNN)对微观图像进行自动分类。我们广泛比较了图像预处理方法、CNN模型和数据增强方法,以确定在分类准确性方面的最佳配置。顶级模型对白面包的准确率接近完美,为0.9948,对全麦面包的准确率为0.9972。